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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.ResponseSecurityHeadersBehavior
ResponseSecurityHeadersBehavior.Builder, ResponseSecurityHeadersBehavior.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theResponseSecurityHeadersBehavior.Builder
.protected
Jsii$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.JsonNode
final boolean
The 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 int
hashCode()
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:ResponseSecurityHeadersBehavior
The 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:
getContentSecurityPolicy
in interfaceResponseSecurityHeadersBehavior
-
getContentTypeOptions
Description copied from interface:ResponseSecurityHeadersBehavior
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff.Default: - no content type options
- Specified by:
getContentTypeOptions
in interfaceResponseSecurityHeadersBehavior
-
getFrameOptions
Description copied from interface:ResponseSecurityHeadersBehavior
Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value.Default: - no frame options
- Specified by:
getFrameOptions
in interfaceResponseSecurityHeadersBehavior
-
getReferrerPolicy
Description copied from interface:ResponseSecurityHeadersBehavior
Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value.Default: - no referrer policy
- Specified by:
getReferrerPolicy
in interfaceResponseSecurityHeadersBehavior
-
getStrictTransportSecurity
Description copied from interface:ResponseSecurityHeadersBehavior
Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value.Default: - no strict transport security
- Specified by:
getStrictTransportSecurity
in interfaceResponseSecurityHeadersBehavior
-
getXssProtection
Description copied from interface:ResponseSecurityHeadersBehavior
Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value.Default: - no xss protection
- Specified by:
getXssProtection
in interfaceResponseSecurityHeadersBehavior
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-