Class CfnResponseHeadersPolicy.SecurityHeadersConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnResponseHeadersPolicy.SecurityHeadersConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnResponseHeadersPolicy.SecurityHeadersConfigProperty
CfnResponseHeadersPolicy.SecurityHeadersConfigProperty-
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.CfnResponseHeadersPolicy.SecurityHeadersConfigProperty
CfnResponseHeadersPolicy.SecurityHeadersConfigProperty.Builder, CfnResponseHeadersPolicy.SecurityHeadersConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.SecurityHeadersConfigProperty.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 ObjectThe policy directives and their values that CloudFront includes as values for theContent-Security-PolicyHTTP response header.final ObjectDetermines whether CloudFront includes theX-Content-Type-OptionsHTTP response header with its value set tonosniff.final ObjectDetermines whether CloudFront includes theX-Frame-OptionsHTTP response header and the header's value.final ObjectDetermines whether CloudFront includes theReferrer-PolicyHTTP response header and the header's value.final ObjectDetermines whether CloudFront includes theStrict-Transport-SecurityHTTP response header and the header's value.final ObjectDetermines whether CloudFront includes theX-XSS-ProtectionHTTP response header and the header's value.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 theCfnResponseHeadersPolicy.SecurityHeadersConfigProperty.Builder.
-
-
Method Details
-
getContentSecurityPolicy
Description copied from interface:CfnResponseHeadersPolicy.SecurityHeadersConfigPropertyThe policy directives and their values that CloudFront includes as values for theContent-Security-PolicyHTTP response header.For more information about the
Content-Security-PolicyHTTP response header, see Content-Security-Policy in the MDN Web Docs.Returns union: either
IResolvableorCfnResponseHeadersPolicy.ContentSecurityPolicyProperty- Specified by:
getContentSecurityPolicyin interfaceCfnResponseHeadersPolicy.SecurityHeadersConfigProperty- See Also:
-
getContentTypeOptions
Description copied from interface:CfnResponseHeadersPolicy.SecurityHeadersConfigPropertyDetermines whether CloudFront includes theX-Content-Type-OptionsHTTP response header with its value set tonosniff.For more information about the
X-Content-Type-OptionsHTTP response header, see X-Content-Type-Options in the MDN Web Docs.Returns union: either
IResolvableorCfnResponseHeadersPolicy.ContentTypeOptionsProperty- Specified by:
getContentTypeOptionsin interfaceCfnResponseHeadersPolicy.SecurityHeadersConfigProperty- See Also:
-
getFrameOptions
Description copied from interface:CfnResponseHeadersPolicy.SecurityHeadersConfigPropertyDetermines whether CloudFront includes theX-Frame-OptionsHTTP response header and the header's value.For more information about the
X-Frame-OptionsHTTP response header, see X-Frame-Options in the MDN Web Docs.Returns union: either
IResolvableorCfnResponseHeadersPolicy.FrameOptionsProperty- Specified by:
getFrameOptionsin interfaceCfnResponseHeadersPolicy.SecurityHeadersConfigProperty- See Also:
-
getReferrerPolicy
Description copied from interface:CfnResponseHeadersPolicy.SecurityHeadersConfigPropertyDetermines whether CloudFront includes theReferrer-PolicyHTTP response header and the header's value.For more information about the
Referrer-PolicyHTTP response header, see Referrer-Policy in the MDN Web Docs.Returns union: either
IResolvableorCfnResponseHeadersPolicy.ReferrerPolicyProperty- Specified by:
getReferrerPolicyin interfaceCfnResponseHeadersPolicy.SecurityHeadersConfigProperty- See Also:
-
getStrictTransportSecurity
Description copied from interface:CfnResponseHeadersPolicy.SecurityHeadersConfigPropertyDetermines whether CloudFront includes theStrict-Transport-SecurityHTTP response header and the header's value.For more information about the
Strict-Transport-SecurityHTTP response header, see Security headers in the Amazon CloudFront Developer Guide and Strict-Transport-Security in the MDN Web Docs.Returns union: either
IResolvableorCfnResponseHeadersPolicy.StrictTransportSecurityProperty- Specified by:
getStrictTransportSecurityin interfaceCfnResponseHeadersPolicy.SecurityHeadersConfigProperty- See Also:
-
getXssProtection
Description copied from interface:CfnResponseHeadersPolicy.SecurityHeadersConfigPropertyDetermines whether CloudFront includes theX-XSS-ProtectionHTTP response header and the header's value.For more information about the
X-XSS-ProtectionHTTP response header, see X-XSS-Protection in the MDN Web Docs.Returns union: either
IResolvableorCfnResponseHeadersPolicy.XSSProtectionProperty- Specified by:
getXssProtectionin interfaceCfnResponseHeadersPolicy.SecurityHeadersConfigProperty- See Also:
-
$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()
-