Interface X8WebSiteProps

Website Properties

Hierarchy

  • X8WebSiteProps

Properties

x8AdditionalDomainNames?: string[]

Additional domain names to be included in ssl and redirect traffic to main domain

x8BucketPolicyActions?: string[]

Additional bucket policy actions

Default

s3:GetObject

x8BucketProps?: WaBucketProps

Bucket properties to override defaults

x8CloudFrontDistributionDefaultBehavior?: BehaviorOptions

Override default CloudFront Distribution behavior

x8DefaultRootObject?: string

Root object of the website, e.g. index.html

Default

index.html

x8DomainName: string

Domain name e.g. example.com there must be a hosted zone existing for this domain name

x8EnableCloudFrontLogging?: boolean

Flag to enable or disable CloudFront logging

Default

false

x8ErrorResponsePagePath?: string

Root object of the website, e.g. /error-page.html

Default

/error.html

x8HostedZone?: IHostedZone

Hosted Zone

x8OriginAccessIdentity?: OriginAccessIdentity

Origin Access Identity to override defaults

Default

A new one is created

x8PathToContent: string

Location of website content

x8Subdomain?: string

Subdomain name e.g. www

Default

www

Generated using TypeDoc