Interface CloudFrontToOaiToS3Props
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudFrontToOaiToS3Props.Jsii$Proxy
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudFrontToOaiToS3Propsstatic final classAn implementation forCloudFrontToOaiToS3Props -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the S3 Content Bucket.default ObjectOptional user provided props to override the default props.default software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the CloudFront Log Bucket Access Log bucket.default software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the CloudFront Log Bucket.default software.amazon.awscdk.services.s3.IBucketExisting instance of S3 Content Bucket object, providing both this andbucketPropswill cause an error.default BooleanOptional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.default BooleanOptional - Whether to maintain access logs for the CloudFront Logging bucket.default software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the S3 Content Bucket Access Log Bucket.default BooleanOptional - Whether to maintain access logs for the S3 Content bucket.default StringOptional user provided props to provide an originPath that CloudFront appends to the origin domain name when CloudFront requests content from the origin.default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyPropsOptional user provided configuration that cloudfront applies to all http responses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketProps
@Nullable default software.amazon.awscdk.services.s3.BucketProps getBucketProps()Optional user provided props to override the default props for the S3 Content Bucket.Default: - Default props are used
-
getCloudFrontDistributionProps
Optional user provided props to override the default props.Default: - Default props are used
-
getCloudFrontLoggingBucketAccessLogBucketProps
@Nullable default software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketAccessLogBucketProps()Optional user provided props to override the default props for the CloudFront Log Bucket Access Log bucket.Providing both this and
existingcloudFrontLoggingBucketAccessLogBucketwill cause an errorDefault: - Default props are used
-
getCloudFrontLoggingBucketProps
@Nullable default software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()Optional user provided props to override the default props for the CloudFront Log Bucket.Default: - Default props are used
-
getExistingBucketObj
@Nullable default software.amazon.awscdk.services.s3.IBucket getExistingBucketObj()Existing instance of S3 Content Bucket object, providing both this andbucketPropswill cause an error.Default: - None
-
getInsertHttpSecurityHeaders
Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter.
Default: - true
-
getLogCloudFrontAccessLog
Optional - Whether to maintain access logs for the CloudFront Logging bucket.Specifying false for this while providing info about the log bucket will cause an error.
Default: - true
-
getLoggingBucketProps
@Nullable default software.amazon.awscdk.services.s3.BucketProps getLoggingBucketProps()Optional user provided props to override the default props for the S3 Content Bucket Access Log Bucket.Default: - Default props are used
-
getLogS3AccessLogs
Optional - Whether to maintain access logs for the S3 Content bucket.Default: - true
-
getOriginPath
Optional user provided props to provide an originPath that CloudFront appends to the origin domain name when CloudFront requests content from the origin.The string should start with a
/, for example/production.Default: = '/'
-
getResponseHeadersPolicyProps
@Nullable default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()Optional user provided configuration that cloudfront applies to all http responses.Can be used to pass a custom ResponseSecurityHeadersBehavior, ResponseCustomHeadersBehavior or ResponseHeadersCorsBehavior to the cloudfront distribution.
Passing a custom ResponseSecurityHeadersBehavior is mutually exclusive with turning on the default security headers via
insertHttpSecurityHeadersprop. Will throw an error if bothinsertHttpSecurityHeadersis set totrueand ResponseSecurityHeadersBehavior is passed.Default: - undefined
-
builder
- Returns:
- a
CloudFrontToOaiToS3Props.BuilderofCloudFrontToOaiToS3Props
-