Class CloudFrontToApiGatewayProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awsconstructs.services.cloudfrontapigateway.CloudFrontToApiGatewayProps.Jsii$Proxy
All Implemented Interfaces:
CloudFrontToApiGatewayProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CloudFrontToApiGatewayProps

@Internal public static final class CloudFrontToApiGatewayProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFrontToApiGatewayProps
An implementation for CloudFrontToApiGatewayProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CloudFrontToApiGatewayProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CloudFrontToApiGatewayProps.Builder.
  • Method Details

    • getExistingApiGatewayObj

      public final software.amazon.awscdk.services.apigateway.RestApi getExistingApiGatewayObj()
      Description copied from interface: CloudFrontToApiGatewayProps
      Existing instance of api.RestApi object.

      Default: - None

      Specified by:
      getExistingApiGatewayObj in interface CloudFrontToApiGatewayProps
    • getCloudFrontDistributionProps

      public final Object getCloudFrontDistributionProps()
      Description copied from interface: CloudFrontToApiGatewayProps
      Optional user provided props to override the default props.

      Default: - Default props are used

      Specified by:
      getCloudFrontDistributionProps in interface CloudFrontToApiGatewayProps
    • getCloudFrontLoggingBucketProps

      public final software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()
      Description copied from interface: CloudFrontToApiGatewayProps
      Optional user provided props to override the default props for the CloudFront Logging Bucket.

      Default: - Default props are used

      Specified by:
      getCloudFrontLoggingBucketProps in interface CloudFrontToApiGatewayProps
    • getInsertHttpSecurityHeaders

      public final Boolean getInsertHttpSecurityHeaders()
      Description copied from interface: CloudFrontToApiGatewayProps
      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

      Specified by:
      getInsertHttpSecurityHeaders in interface CloudFrontToApiGatewayProps
    • getResponseHeadersPolicyProps

      public final software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()
      Description copied from interface: CloudFrontToApiGatewayProps
      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

      Specified by:
      getResponseHeadersPolicyProps in interface CloudFrontToApiGatewayProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object