Interface CfnResponseHeadersPolicy.XSSProtectionProperty

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

@Stability(Stable) public static interface CfnResponseHeadersPolicy.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.services.cloudfront.*;
 XSSProtectionProperty xSSProtectionProperty = XSSProtectionProperty.builder()
         .override(false)
         .protection(false)
         // the properties below are optional
         .modeBlock(false)
         .reportUri("reportUri")
         .build();
 

See Also: