scoped id of the resource
scope in which this resource is defined
Method to create a CloudFront distribution with HTTP Origin
scoped id of the resource
scope in which this resource is defined
distribution properties
OptionallogBucket: IBucketOptionalcertificate: ICertificateOptionaldefaultFunctionAssociations: FunctionAssociation[]OptionalresponseHeadersPolicy: IResponseHeadersPolicyRefMethod to create a CloudFront distribution with S3 Origin
scoped id of the resource
scope in which this resource is defined
distribution properties
OptionallogBucket: IBucketOptionaloai: OriginAccessIdentityOptionalcertificate: ICertificateOptionalaliases: string[]OptionaldefaultFunctionAssociations: FunctionAssociation[]scoped id of the resource
scope in which this resource is defined
lambda@edge properties
Optionalenvironment: anyOptionalvpc: IVpcOptionalsecurityGroups: ISecurityGroup[]OptionalaccessPoint: IAccessPointOptionalmountPath: stringOptionalaccessBucket: IBucketOptionalpaths: string
Provides operations on AWS
Example
See
[CDK CloudFront Module]https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront-readme.html