Interface X8ServerlessContainerApiProps

Serverless Container Api Properties

Hierarchy

  • X8ServerlessContainerApiProps

Properties

x8AccessLogsBucket: Bucket

Cloudfront access logs bucket

x8CloudFrontSecret?: Secret

CLoudFront secret to use with X-Origin-Verify header

Default

A secret is generated and stored in SSM for sharing

x8CloudfrontAllowedMethods?: AllowedMethods

CloudFront allowed methods to override defaults

Default

AllowedMethods.ALLOW_ALL

x8Cluster?: WaCluster

Overriding the default cluster

Default

A new Well Architected ECS cluster is created

x8ClusterProps?: WaClusterProps

Cluster Props

x8DomainName: string

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

x8EnableCorsAtEdge?: boolean

Enable CORS at the edge

Default

false

x8PublicLoadBalancer?: WaPublicApplicationLoadBalancer

Load balancer to use for traffic routing.

Default

A new Well Architected Load balancer is created.

x8SubDomain?: string

Sub domain e.g. api.

Default

api

x8Vpc?: WaVpc

VPC to use for provisioning resources

Default

A new Well Architected VPC wil be created

Generated using TypeDoc