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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudfront.CfnResponseHeadersPolicy.XSSProtectionProperty
CfnResponseHeadersPolicy.XSSProtectionProperty.Builder, CfnResponseHeadersPolicy.XSSProtectionProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnResponseHeadersPolicy.XSSProtectionProperty.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 ObjectA Boolean that determines whether CloudFront includes themode=blockdirective in theX-XSS-Protectionheader.final ObjectA Boolean that determines whether CloudFront overrides theX-XSS-ProtectionHTTP response header received from the origin with the one specified in this response headers policy.final ObjectA Boolean that determines the value of theX-XSS-ProtectionHTTP response header.final StringA reporting URI, which CloudFront uses as the value of thereportdirective in theX-XSS-Protectionheader.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 theCfnResponseHeadersPolicy.XSSProtectionProperty.Builder.
-
-
Method Details
-
getOverride
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionPropertyA Boolean that determines whether CloudFront overrides theX-XSS-ProtectionHTTP response header received from the origin with the one specified in this response headers policy.Returns union: either
BooleanorIResolvable- Specified by:
getOverridein interfaceCfnResponseHeadersPolicy.XSSProtectionProperty- See Also:
-
getProtection
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionPropertyA Boolean that determines the value of theX-XSS-ProtectionHTTP response header.When this setting is
true, the value of theX-XSS-Protectionheader is1. When this setting isfalse, the value of theX-XSS-Protectionheader is0.For more information about these settings, see X-XSS-Protection in the MDN Web Docs.
Returns union: either
BooleanorIResolvable- Specified by:
getProtectionin interfaceCfnResponseHeadersPolicy.XSSProtectionProperty- See Also:
-
getModeBlock
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionPropertyA Boolean that determines whether CloudFront includes themode=blockdirective in theX-XSS-Protectionheader.For more information about this directive, see X-XSS-Protection in the MDN Web Docs.
Returns union: either
BooleanorIResolvable- Specified by:
getModeBlockin interfaceCfnResponseHeadersPolicy.XSSProtectionProperty- See Also:
-
getReportUri
Description copied from interface:CfnResponseHeadersPolicy.XSSProtectionPropertyA reporting URI, which CloudFront uses as the value of thereportdirective in theX-XSS-Protectionheader.You cannot specify a
ReportUriwhenModeBlockistrue.For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs.
- Specified by:
getReportUriin interfaceCfnResponseHeadersPolicy.XSSProtectionProperty- See Also:
-
$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()
-