scoped id of the resource
scope in which this resource is defined
the CloudFront function properties
Method to create a CloudFront distribution with HTTP Origin
scoped id of the resource
scope in which this resource is defined
distribution properties
the HTTP origin for the distribution
the custom domain names for the distribution
OptionallogBucket: IBucket
optional S3 bucket for access logs
Optionalcertificate: ICertificate
optional ACM certificate for custom domain HTTPS
OptionaldefaultFunctionAssociations: FunctionAssociation[]
optional CloudFront function associations for the default behavior
OptionalresponseHeadersPolicy: IResponseHeadersPolicyRef
optional response headers policy for the default behavior
Method to create a CloudFront distribution with S3 Origin
scoped id of the resource
scope in which this resource is defined
distribution properties
the S3 bucket serving as the origin
OptionallogBucket: IBucket
optional S3 bucket for access logs
Optionaloai: OriginAccessIdentity
optional Origin Access Identity for S3 access
Optionalcertificate: ICertificate
optional ACM certificate for custom domain HTTPS
Optionalaliases: string[]
optional custom domain names for the distribution
OptionaldefaultFunctionAssociations: FunctionAssociation[]
optional CloudFront function associations for the default behavior
scoped id of the resource
scope in which this resource is defined
lambda@edge properties
the Lambda layers to attach to the function
the asset code bundle for the function
the IAM role for the function execution
Optionalenvironment: any
optional environment variables for the function
Optionalvpc: IVpc
optional VPC to deploy the function into
OptionalsecurityGroups: ISecurityGroup[]
optional security groups for VPC-connected functions
OptionalaccessPoint: IAccessPoint
optional EFS access point for filesystem mounting
OptionalmountPath: string
optional mount path for the EFS filesystem (defaults to /mnt/msg)
scoped id of the resource
scope in which this resource is defined
OptionalaccessBucket: IBucket
optional S3 bucket to grant read access to the OAI
scoped id of the resource
scope in which this resource is defined
the path to the Dockerfile for the CodeBuild project
the CloudFront distribution ID to invalidate
Optionalpaths: string
optional invalidation paths (defaults to /*)
scope in which this resource is defined
the distribution attributes to look up
Provides operations on AWS CloudFront.
Example
See
[CDK CloudFront Module]https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront-readme.html