Interface CloudFrontToApiGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudFrontToApiGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.97.0 (build 729de35)",
date="2024-04-24T20:29:02.841Z")
public interface CloudFrontToApiGatewayProps
extends software.amazon.jsii.JsiiSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudFrontToApiGatewayPropsstatic final classAn implementation forCloudFrontToApiGatewayProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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 Logging Bucket.software.amazon.awscdk.services.apigateway.RestApiExisting instance of api.RestApi object.default BooleanOptional 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.cloudfront.ResponseHeadersPolicyPropsOptional user provided configuration that cloudfront applies to all http responses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExistingApiGatewayObj
@NotNull software.amazon.awscdk.services.apigateway.RestApi getExistingApiGatewayObj()Existing instance of api.RestApi object.Default: - None
-
getCloudFrontDistributionProps
Optional user provided props to override the default props.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 Logging Bucket.Default: - Default props are used
-
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
-
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
-