@Stability(value=Stable) @Internal public static final class ResponseHeadersXSSProtection.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResponseHeadersXSSProtection
ResponseHeadersXSSProtectionsoftware.amazon.jsii.JsiiObject.InitializationModeResponseHeadersXSSProtection.Builder, ResponseHeadersXSSProtection.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ResponseHeadersXSSProtection.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ResponseHeadersXSSProtection.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getModeBlock()
A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.
|
Boolean |
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.
|
Boolean |
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(ResponseHeadersXSSProtection.Builder builder)
ResponseHeadersXSSProtection.Builder.public final Boolean getOverride()
ResponseHeadersXSSProtectiongetOverride in interface ResponseHeadersXSSProtectionpublic final Boolean getProtection()
ResponseHeadersXSSProtectionWhen 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.
getProtection in interface ResponseHeadersXSSProtectionpublic final Boolean getModeBlock()
ResponseHeadersXSSProtectionDefault: false
getModeBlock in interface ResponseHeadersXSSProtectionpublic final String getReportUri()
ResponseHeadersXSSProtectionYou cannot specify a ReportUri when ModeBlock is true.
Default: - no report uri
getReportUri in interface ResponseHeadersXSSProtection@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.