Class ResponseHeadersXSSProtection.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.ResponseHeadersXSSProtection.Jsii$Proxy
- All Implemented Interfaces:
ResponseHeadersXSSProtection,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ResponseHeadersXSSProtection
@Stability(Stable)
@Internal
public static final class ResponseHeadersXSSProtection.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResponseHeadersXSSProtection
An implementation for
ResponseHeadersXSSProtection-
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.ResponseHeadersXSSProtection
ResponseHeadersXSSProtection.Builder, ResponseHeadersXSSProtection.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theResponseHeadersXSSProtection.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 BooleanA Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.final BooleanA Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.final BooleanA Boolean that determines the value of the X-XSS-Protection HTTP response header.final StringA reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.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 theResponseHeadersXSSProtection.Builder.
-
-
Method Details
-
getOverride
Description copied from interface:ResponseHeadersXSSProtectionA Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy.- Specified by:
getOverridein interfaceResponseHeadersXSSProtection
-
getProtection
Description copied from interface:ResponseHeadersXSSProtectionA Boolean that determines the value of the X-XSS-Protection HTTP response header.When this setting is true, the value of the X-XSS-Protection header is 1. When this setting is false, the value of the X-XSS-Protection header is 0.
- Specified by:
getProtectionin interfaceResponseHeadersXSSProtection
-
getModeBlock
Description copied from interface:ResponseHeadersXSSProtectionA Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.Default: false
- Specified by:
getModeBlockin interfaceResponseHeadersXSSProtection
-
getReportUri
Description copied from interface:ResponseHeadersXSSProtectionA reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.You cannot specify a ReportUri when ModeBlock is true.
Default: - no report uri
- Specified by:
getReportUriin interfaceResponseHeadersXSSProtection
-
$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()
-