Interface CfnResponseHeadersPolicy.ContentTypeOptionsProperty

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

@Stability(Stable) public static interface CfnResponseHeadersPolicy.ContentTypeOptionsProperty extends software.amazon.jsii.JsiiSerializable
Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff .

For more information about the X-Content-Type-Options HTTP response header, see X-Content-Type-Options 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.*;
 ContentTypeOptionsProperty contentTypeOptionsProperty = ContentTypeOptionsProperty.builder()
         .override(false)
         .build();
 

See Also: