public static final class CloudFrontToS3.Builder extends Object implements software.amazon.jsii.Builder<CloudFrontToS3>
CloudFrontToS3.| Modifier and Type | Method and Description |
|---|---|
CloudFrontToS3.Builder |
bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
User provided props to override the default props for the S3 Bucket.
|
CloudFrontToS3 |
build() |
CloudFrontToS3.Builder |
cloudFrontDistributionProps(Object cloudFrontDistributionProps)
Optional user provided props to override the default props.
|
static CloudFrontToS3.Builder |
create(software.amazon.awscdk.core.Construct scope,
String id) |
CloudFrontToS3.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.
|
CloudFrontToS3.Builder |
insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.
|
public static CloudFrontToS3.Builder create(software.amazon.awscdk.core.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.CloudFrontToS3.Builder.public CloudFrontToS3.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Default: - Default props are used
bucketProps - User provided props to override the default props for the S3 Bucket. This parameter is required.thispublic CloudFrontToS3.Builder cloudFrontDistributionProps(Object cloudFrontDistributionProps)
Default: - Default props are used
cloudFrontDistributionProps - Optional user provided props to override the default props. This parameter is required.thispublic CloudFrontToS3.Builder existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Default: - None
existingBucketObj - Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error. This parameter is required.thispublic CloudFrontToS3.Builder insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
Default: - true
insertHttpSecurityHeaders - Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront. This parameter is required.thispublic CloudFrontToS3 build()
build in interface software.amazon.jsii.Builder<CloudFrontToS3>Copyright © 2021. All rights reserved.