public static final class CloudFrontToS3Props.Builder extends Object implements software.amazon.jsii.Builder<CloudFrontToS3Props>
CloudFrontToS3Props| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CloudFrontToS3Props.Builder |
bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
Sets the value of
CloudFrontToS3Props.getBucketProps() |
CloudFrontToS3Props |
build()
Builds the configured instance.
|
CloudFrontToS3Props.Builder |
cloudFrontDistributionProps(Object cloudFrontDistributionProps)
Sets the value of
CloudFrontToS3Props.getCloudFrontDistributionProps() |
CloudFrontToS3Props.Builder |
existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
Sets the value of
CloudFrontToS3Props.getExistingBucketObj() |
CloudFrontToS3Props.Builder |
insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
Sets the value of
CloudFrontToS3Props.getInsertHttpSecurityHeaders() |
public CloudFrontToS3Props.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
CloudFrontToS3Props.getBucketProps()bucketProps - User provided props to override the default props for the S3 Bucket.thispublic CloudFrontToS3Props.Builder cloudFrontDistributionProps(Object cloudFrontDistributionProps)
CloudFrontToS3Props.getCloudFrontDistributionProps()cloudFrontDistributionProps - Optional user provided props to override the default props.thispublic CloudFrontToS3Props.Builder existingBucketObj(software.amazon.awscdk.services.s3.Bucket existingBucketObj)
CloudFrontToS3Props.getExistingBucketObj()existingBucketObj - Existing instance of S3 Bucket object, if this is set then the bucketProps is ignored.thispublic CloudFrontToS3Props.Builder insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
CloudFrontToS3Props.getInsertHttpSecurityHeaders()insertHttpSecurityHeaders - Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.thispublic CloudFrontToS3Props build()
build in interface software.amazon.jsii.Builder<CloudFrontToS3Props>CloudFrontToS3PropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.