Class ResponseHeadersContentSecurityPolicy.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ResponseHeadersContentSecurityPolicy.Jsii$Proxy
- All Implemented Interfaces:
ResponseHeadersContentSecurityPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ResponseHeadersContentSecurityPolicy
@Stability(Stable)
@Internal
public static final class ResponseHeadersContentSecurityPolicy.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResponseHeadersContentSecurityPolicy
An implementation for
ResponseHeadersContentSecurityPolicy-
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.awscdk.services.cloudfront.ResponseHeadersContentSecurityPolicy
ResponseHeadersContentSecurityPolicy.Builder, ResponseHeadersContentSecurityPolicy.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theResponseHeadersContentSecurityPolicy.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 StringThe policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.final BooleanA Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.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 theResponseHeadersContentSecurityPolicy.Builder.
-
-
Method Details
-
getContentSecurityPolicy
Description copied from interface:ResponseHeadersContentSecurityPolicyThe policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.- Specified by:
getContentSecurityPolicyin interfaceResponseHeadersContentSecurityPolicy
-
getOverride
Description copied from interface:ResponseHeadersContentSecurityPolicyA Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.- Specified by:
getOverridein interfaceResponseHeadersContentSecurityPolicy
-
$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()
-