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-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awsconstructs.services.cloudfrontapigateway.CloudFrontToApiGatewayProps
CloudFrontToApiGatewayProps.Builder, CloudFrontToApiGatewayProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCloudFrontToApiGatewayProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectOptional user provided props to override the default props.final software.amazon.awscdk.services.s3.BucketPropsOptional user provided props to override the default props for the CloudFront Logging Bucket.final software.amazon.awscdk.services.apigateway.RestApiExisting instance of api.RestApi object.final BooleanOptional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront.final software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyPropsOptional user provided configuration that cloudfront applies to all http responses.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCloudFrontToApiGatewayProps.Builder.
-
-
Method Details
-
getExistingApiGatewayObj
public final software.amazon.awscdk.services.apigateway.RestApi getExistingApiGatewayObj()Description copied from interface:CloudFrontToApiGatewayPropsExisting instance of api.RestApi object.Default: - None
- Specified by:
getExistingApiGatewayObjin interfaceCloudFrontToApiGatewayProps
-
getCloudFrontDistributionProps
Description copied from interface:CloudFrontToApiGatewayPropsOptional user provided props to override the default props.Default: - Default props are used
- Specified by:
getCloudFrontDistributionPropsin interfaceCloudFrontToApiGatewayProps
-
getCloudFrontLoggingBucketProps
public final software.amazon.awscdk.services.s3.BucketProps getCloudFrontLoggingBucketProps()Description copied from interface:CloudFrontToApiGatewayPropsOptional user provided props to override the default props for the CloudFront Logging Bucket.Default: - Default props are used
- Specified by:
getCloudFrontLoggingBucketPropsin interfaceCloudFrontToApiGatewayProps
-
getInsertHttpSecurityHeaders
Description copied from interface:CloudFrontToApiGatewayPropsOptional 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:
getInsertHttpSecurityHeadersin interfaceCloudFrontToApiGatewayProps
-
getResponseHeadersPolicyProps
public final software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps getResponseHeadersPolicyProps()Description copied from interface:CloudFrontToApiGatewayPropsOptional 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
- Specified by:
getResponseHeadersPolicyPropsin interfaceCloudFrontToApiGatewayProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-