@Generated(value="jsii-pacmak/1.64.0 (build 4c1eae8)", date="2022-08-17T14:31:03.058Z") public interface CloudFrontToS3Props extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudFrontToS3Props.Builder
A builder for
CloudFrontToS3Props |
static class |
CloudFrontToS3Props.Jsii$Proxy
An implementation for
CloudFrontToS3Props |
| Modifier and Type | Method and Description |
|---|---|
static CloudFrontToS3Props.Builder |
builder() |
default software.amazon.awscdk.services.s3.BucketProps |
getBucketProps()
Optional user provided props to override the default props for the S3 Bucket.
|
default Object |
getCloudFrontDistributionProps()
Optional user provided props to override the default props.
|
default software.amazon.awscdk.services.s3.BucketProps |
getCloudFrontLoggingBucketProps()
Optional user provided props to override the default props for the CloudFront Logging Bucket.
|
default software.amazon.awscdk.services.s3.IBucket |
getExistingBucketObj()
Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.
|
default Boolean |
getInsertHttpSecurityHeaders()
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.
|
default software.amazon.awscdk.services.s3.BucketProps |
getLoggingBucketProps()
Optional user provided props to override the default props for the S3 Logging Bucket.
|
default Boolean |
getLogS3AccessLogs()
Whether to turn on Access Logs for the S3 bucket with the associated storage costs.
|
default String |
getOriginPath()
Optional user provided props to provide an originPath that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
|
@Nullable default software.amazon.awscdk.services.s3.BucketProps getBucketProps()
Default: - Default props are used
@Nullable default Object getCloudFrontDistributionProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.s3.IBucket getExistingBucketObj()
Default: - None
@Nullable default Boolean getInsertHttpSecurityHeaders()
Default: - true
@Nullable default software.amazon.awscdk.services.s3.BucketProps getLoggingBucketProps()
Default: - Default props are used
@Nullable default Boolean getLogS3AccessLogs()
Enabling Access Logging is a best practice.
Default: - true
@Nullable default String getOriginPath()
The string should start with a /, for example /production.
static CloudFrontToS3Props.Builder builder()
CloudFrontToS3Props.Builder of CloudFrontToS3PropsCopyright © 2022. All rights reserved.