Class ResponseSecurityHeadersBehavior.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ResponseSecurityHeadersBehavior.Jsii$Proxy
- All Implemented Interfaces:
ResponseSecurityHeadersBehavior,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ResponseSecurityHeadersBehavior
@Stability(Stable)
@Internal
public static final class ResponseSecurityHeadersBehavior.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResponseSecurityHeadersBehavior
An implementation for
ResponseSecurityHeadersBehavior-
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.ResponseSecurityHeadersBehavior
ResponseSecurityHeadersBehavior.Builder, ResponseSecurityHeadersBehavior.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theResponseSecurityHeadersBehavior.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 booleanThe policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.Determines whether CloudFront includes the X-XSS-Protection HTTP 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 theResponseSecurityHeadersBehavior.Builder.
-
-
Method Details
-
getContentSecurityPolicy
Description copied from interface:ResponseSecurityHeadersBehaviorThe policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.Default: - no content security policy
- Specified by:
getContentSecurityPolicyin interfaceResponseSecurityHeadersBehavior
-
getContentTypeOptions
Description copied from interface:ResponseSecurityHeadersBehaviorDetermines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.Default: - no content type options
- Specified by:
getContentTypeOptionsin interfaceResponseSecurityHeadersBehavior
-
getFrameOptions
Description copied from interface:ResponseSecurityHeadersBehaviorDetermines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.Default: - no frame options
- Specified by:
getFrameOptionsin interfaceResponseSecurityHeadersBehavior
-
getReferrerPolicy
Description copied from interface:ResponseSecurityHeadersBehaviorDetermines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.Default: - no referrer policy
- Specified by:
getReferrerPolicyin interfaceResponseSecurityHeadersBehavior
-
getStrictTransportSecurity
Description copied from interface:ResponseSecurityHeadersBehaviorDetermines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.Default: - no strict transport security
- Specified by:
getStrictTransportSecurityin interfaceResponseSecurityHeadersBehavior
-
getXssProtection
Description copied from interface:ResponseSecurityHeadersBehaviorDetermines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.Default: - no xss protection
- Specified by:
getXssProtectionin interfaceResponseSecurityHeadersBehavior
-
$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()
-