Interface CfnResponseHeadersPolicyPropsMixin.XSSProtectionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnResponseHeadersPolicyPropsMixin.XSSProtectionProperty.Jsii$Proxy
Enclosing class:
CfnResponseHeadersPolicyPropsMixin

@Stability(Stable) public static interface CfnResponseHeadersPolicyPropsMixin.XSSProtectionProperty extends software.amazon.jsii.JsiiSerializable
Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header's value.

For more information about the X-XSS-Protection HTTP response header, see X-XSS-Protection in the MDN Web Docs.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.cloudfront.*;
 XSSProtectionProperty xSSProtectionProperty = XSSProtectionProperty.builder()
         .modeBlock(false)
         .override(false)
         .protection(false)
         .reportUri("reportUri")
         .build();
 

See Also: