public static interface CfnResponseHeadersPolicy.ContentTypeOptionsProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnResponseHeadersPolicy.ContentTypeOptionsProperty.Builder
A builder for
CfnResponseHeadersPolicy.ContentTypeOptionsProperty |
static class |
CfnResponseHeadersPolicy.ContentTypeOptionsProperty.Jsii$Proxy
An implementation for
CfnResponseHeadersPolicy.ContentTypeOptionsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnResponseHeadersPolicy.ContentTypeOptionsProperty.Builder |
builder() |
java.lang.Object |
getOverride()
A Boolean that determines whether CloudFront overrides the `X-Content-Type-Options` HTTP response header received from the origin with the one specified in this response headers policy.
|