Interface CloudFrontToOaiToS3Props

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CloudFrontToOaiToS3Props.Jsii$Proxy

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-03T20:17:05.761Z") public interface CloudFrontToOaiToS3Props extends software.amazon.jsii.JsiiSerializable
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    static final class 
    An implementation for CloudFrontToOaiToS3Props
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default software.amazon.awscdk.services.s3.BucketProps
    Optional user provided props to override the default props for the S3 Content Bucket.
    default Object
    Optional user provided props to override the default props.
    default software.amazon.awscdk.services.s3.BucketProps
    Optional user provided props to override the default props for the CloudFront Log Bucket Access Log bucket.
    default software.amazon.awscdk.services.s3.BucketProps
    Optional user provided props to override the default props for the CloudFront Log Bucket.
    default software.amazon.awscdk.services.s3.IBucket
    Existing instance of S3 Content Bucket object, providing both this and bucketProps will cause an error.
    default Boolean
    Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.
    default Boolean
    Optional - Whether to maintain access logs for the CloudFront Logging bucket.
    default software.amazon.awscdk.services.s3.BucketProps
    Optional user provided props to override the default props for the S3 Content Bucket Access Log Bucket.
    default Boolean
    Optional - Whether to maintain access logs for the S3 Content bucket.
    default String
    Optional 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.ResponseHeadersPolicyProps
    Optional 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

      @Nullable default Object 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 existingcloudFrontLoggingBucketAccessLogBucket will cause an error

      Default: - 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 and bucketProps will cause an error.

      Default: - None

    • getInsertHttpSecurityHeaders

      @Nullable 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.

      Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter.

      Default: - true

    • getLogCloudFrontAccessLog

      @Nullable default Boolean 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

      @Nullable default Boolean getLogS3AccessLogs()
      Optional - Whether to maintain access logs for the S3 Content bucket.

      Default: - true

    • getOriginPath

      @Nullable 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.

      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 insertHttpSecurityHeaders prop. Will throw an error if both insertHttpSecurityHeaders is set to true and ResponseSecurityHeadersBehavior is passed.

      Default: - undefined

    • builder

      Returns:
      a CloudFrontToOaiToS3Props.Builder of CloudFrontToOaiToS3Props