@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-29T17:47:57.790Z") public interface CloudFrontToApiGatewayProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudFrontToApiGatewayProps.Builder
A builder for
CloudFrontToApiGatewayProps |
static class |
CloudFrontToApiGatewayProps.Jsii$Proxy
An implementation for
CloudFrontToApiGatewayProps |
| Modifier and Type | Method and Description |
|---|---|
static CloudFrontToApiGatewayProps.Builder |
builder() |
default Object |
getCloudFrontDistributionProps()
Optional user provided props to override the default props.
|
default 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.apigateway.RestApi |
getExistingApiGatewayObj()
Existing instance of api.RestApi object.
|
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.
|
default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps |
getResponseHeadersPolicyProps()
Optional user provided configuration that cloudfront applies to all http responses.
|
@NotNull software.amazon.awscdk.services.apigateway.RestApi getExistingApiGatewayObj()
Default: - None
@Nullable default Object getCloudFrontDistributionProps()
Default: - Default props are used
@Nullable default software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()
Default: - Default props are used
@Nullable default Boolean getInsertHttpSecurityHeaders()
Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter.
Default: - true
@Nullable default software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()
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
static CloudFrontToApiGatewayProps.Builder builder()
Copyright © 2023. All rights reserved.