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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.ResponseHeadersXSSProtection
ResponseHeadersXSSProtection.Builder, ResponseHeadersXSSProtection.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theResponseHeadersXSSProtection.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
final Boolean
A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.final Boolean
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.final Boolean
A Boolean that determines the value of the X-XSS-Protection HTTP response header.final String
A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header.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 theResponseHeadersXSSProtection.Builder
.
-
-
Method Details
-
getOverride
Description copied from interface:ResponseHeadersXSSProtection
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.- Specified by:
getOverride
in interfaceResponseHeadersXSSProtection
-
getProtection
Description copied from interface:ResponseHeadersXSSProtection
A 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:
getProtection
in interfaceResponseHeadersXSSProtection
-
getModeBlock
Description copied from interface:ResponseHeadersXSSProtection
A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header.Default: false
- Specified by:
getModeBlock
in interfaceResponseHeadersXSSProtection
-
getReportUri
Description copied from interface:ResponseHeadersXSSProtection
A 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:
getReportUri
in interfaceResponseHeadersXSSProtection
-
$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()
-