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: IBucketoptional S3 bucket for access logs
Optionalcertificate: ICertificateoptional ACM certificate for custom domain HTTPS
OptionaldefaultFunctionAssociations: FunctionAssociation[]optional CloudFront function associations for the default behavior
OptionalresponseHeadersPolicy: IResponseHeadersPolicyRefoptional 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: IBucketoptional S3 bucket for access logs
Optionaloai: OriginAccessIdentityoptional Origin Access Identity for S3 access
Optionalcertificate: ICertificateoptional 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: anyoptional environment variables for the function
Optionalvpc: IVpcoptional VPC to deploy the function into
OptionalsecurityGroups: ISecurityGroup[]optional security groups for VPC-connected functions
OptionalaccessPoint: IAccessPointoptional EFS access point for filesystem mounting
OptionalmountPath: stringoptional mount path for the EFS filesystem (defaults to /mnt/msg)
scoped id of the resource
scope in which this resource is defined
OptionalaccessBucket: IBucketoptional 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: stringoptional 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