@Stability(value=Stable) @Internal public static final class CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResponseHeadersPolicy.XSSProtectionProperty
CfnResponseHeadersPolicy.XSSProtectionPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnResponseHeadersPolicy.XSSProtectionProperty.Builder, CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnResponseHeadersPolicy.XSSProtectionProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getModeBlock()
A Boolean that determines whether CloudFront includes the `mode=block` directive in the `X-XSS-Protection` header.
|
Object |
getOverride()
A 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.
|
Object |
getProtection()
A Boolean that determines the value of the `X-XSS-Protection` HTTP response header.
|
String |
getReportUri()
A reporting URI, which CloudFront uses as the value of the `report` directive in the `X-XSS-Protection` header.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnResponseHeadersPolicy.XSSProtectionProperty.Builder builder)
CfnResponseHeadersPolicy.AccessControlAllowHeadersProperty.Builder.public final Object getOverride()
CfnResponseHeadersPolicy.XSSProtectionPropertygetOverride in interface CfnResponseHeadersPolicy.XSSProtectionPropertypublic final Object getProtection()
CfnResponseHeadersPolicy.XSSProtectionProperty
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 .
For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
getProtection in interface CfnResponseHeadersPolicy.XSSProtectionPropertypublic final Object getModeBlock()
CfnResponseHeadersPolicy.XSSProtectionPropertyFor more information about this directive, see X-XSS-Protection in the MDN Web Docs.
getModeBlock in interface CfnResponseHeadersPolicy.XSSProtectionPropertypublic final String getReportUri()
CfnResponseHeadersPolicy.XSSProtectionProperty
You cannot specify a ReportUri when ModeBlock is true .
For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
getReportUri in interface CfnResponseHeadersPolicy.XSSProtectionProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.