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 |
existingBucketInterface(software.amazon.awscdk.services.s3.IBucket existingBucketInterface)
Sets the value of
CloudFrontToS3Props.getExistingBucketInterface() |
CloudFrontToS3Props.Builder |
insertHttpSecurityHeaders(Boolean insertHttpSecurityHeaders)
Sets the value of
CloudFrontToS3Props.getInsertHttpSecurityHeaders() |
CloudFrontToS3Props.Builder |
loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
Sets the value of
CloudFrontToS3Props.getLoggingBucketProps() |
public CloudFrontToS3Props.Builder bucketProps(software.amazon.awscdk.services.s3.BucketProps bucketProps)
CloudFrontToS3Props.getBucketProps()bucketProps - Optional 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 existingBucketInterface(software.amazon.awscdk.services.s3.IBucket existingBucketInterface)
CloudFrontToS3Props.getExistingBucketInterface()existingBucketInterface - Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.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.Builder loggingBucketProps(software.amazon.awscdk.services.s3.BucketProps loggingBucketProps)
CloudFrontToS3Props.getLoggingBucketProps()loggingBucketProps - Optional user provided props to override the default props for the S3 Logging Bucket.thispublic CloudFrontToS3Props build()
build in interface software.amazon.jsii.Builder<CloudFrontToS3Props>CloudFrontToS3PropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.