Class CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnResponseHeadersPolicy.XSSProtectionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnResponseHeadersPolicy.XSSProtectionProperty
@Stability(Stable)
@Internal
public static final class CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnResponseHeadersPolicy.XSSProtectionProperty
An implementation for
CfnResponseHeadersPolicy.XSSProtectionProperty
-
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.CfnResponseHeadersPolicy.XSSProtectionProperty
CfnResponseHeadersPolicy.XSSProtectionProperty.Builder, CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.XSSProtectionProperty.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 Object
A Boolean that determines whether CloudFront includes themode=block
directive in theX-XSS-Protection
header.final Object
A Boolean that determines whether CloudFront overrides theX-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy.final Object
A Boolean that determines the value of theX-XSS-Protection
HTTP response header.final String
A reporting URI, which CloudFront uses as the value of thereport
directive in theX-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 theCfnResponseHeadersPolicy.XSSProtectionProperty.Builder
.
-
-
Method Details
-
getOverride
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionProperty
A Boolean that determines whether CloudFront overrides theX-XSS-Protection
HTTP response header received from the origin with the one specified in this response headers policy.- Specified by:
getOverride
in interfaceCfnResponseHeadersPolicy.XSSProtectionProperty
- See Also:
-
getProtection
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionProperty
A Boolean that determines the value of theX-XSS-Protection
HTTP response header.When this setting is
true
, the value of theX-XSS-Protection
header is1
. When this setting isfalse
, the value of theX-XSS-Protection
header is0
.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
- Specified by:
getProtection
in interfaceCfnResponseHeadersPolicy.XSSProtectionProperty
- See Also:
-
getModeBlock
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionProperty
A Boolean that determines whether CloudFront includes themode=block
directive in theX-XSS-Protection
header.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
- Specified by:
getModeBlock
in interfaceCfnResponseHeadersPolicy.XSSProtectionProperty
- See Also:
-
getReportUri
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionProperty
A reporting URI, which CloudFront uses as the value of thereport
directive in theX-XSS-Protection
header.You cannot specify a
ReportUri
whenModeBlock
istrue
.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- Specified by:
getReportUri
in interfaceCfnResponseHeadersPolicy.XSSProtectionProperty
- See Also:
-
$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()
-