@Internal public static final class CloudFrontToS3Props.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFrontToS3Props
CloudFrontToS3Propssoftware.amazon.jsii.JsiiObject.InitializationModeCloudFrontToS3Props.Builder, CloudFrontToS3Props.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CloudFrontToS3Props.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CloudFrontToS3Props.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
software.amazon.awscdk.services.s3.BucketProps |
getBucketProps()
Optional user provided props to override the default props for the S3 Bucket.
|
Object |
getCloudFrontDistributionProps()
Optional user provided props to override the default props.
|
software.amazon.awscdk.services.s3.BucketProps |
getCloudFrontLoggingBucketProps()
Optional user provided props to override the default props for the CloudFront Logging Bucket.
|
software.amazon.awscdk.services.s3.IBucket |
getExistingBucketObj()
Existing instance of S3 Bucket object, providing both this and `bucketProps` will cause an error.
|
Boolean |
getInsertHttpSecurityHeaders()
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.
|
software.amazon.awscdk.services.s3.BucketProps |
getLoggingBucketProps()
Optional user provided props to override the default props for the S3 Logging Bucket.
|
Boolean |
getLogS3AccessLogs()
Whether to turn on Access Logs for the S3 bucket with the associated storage costs.
|
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.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CloudFrontToS3Props.Builder builder)
CloudFrontToS3Props.Builder.public final software.amazon.awscdk.services.s3.BucketProps getBucketProps()
CloudFrontToS3PropsDefault: - Default props are used
getBucketProps in interface CloudFrontToS3Propspublic final Object getCloudFrontDistributionProps()
CloudFrontToS3PropsDefault: - Default props are used
getCloudFrontDistributionProps in interface CloudFrontToS3Propspublic final software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()
CloudFrontToS3PropsDefault: - Default props are used
getCloudFrontLoggingBucketProps in interface CloudFrontToS3Propspublic final software.amazon.awscdk.services.s3.IBucket getExistingBucketObj()
CloudFrontToS3PropsDefault: - None
getExistingBucketObj in interface CloudFrontToS3Propspublic final Boolean getInsertHttpSecurityHeaders()
CloudFrontToS3PropsDefault: - true
getInsertHttpSecurityHeaders in interface CloudFrontToS3Propspublic final software.amazon.awscdk.services.s3.BucketProps getLoggingBucketProps()
CloudFrontToS3PropsDefault: - Default props are used
getLoggingBucketProps in interface CloudFrontToS3Propspublic final Boolean getLogS3AccessLogs()
CloudFrontToS3PropsEnabling Access Logging is a best practice.
Default: - true
getLogS3AccessLogs in interface CloudFrontToS3Propspublic final String getOriginPath()
CloudFrontToS3Props
The string should start with a /, for example /production.
getOriginPath in interface CloudFrontToS3Props@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.