| Package | Description |
|---|---|
| com.amazonaws.services.cloudfront.model |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersPolicyContentTypeOptions |
ResponseHeadersPolicyContentTypeOptions.clone() |
ResponseHeadersPolicyContentTypeOptions |
ResponseHeadersPolicySecurityHeadersConfig.getContentTypeOptions()
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
ResponseHeadersPolicyContentTypeOptions |
ResponseHeadersPolicyContentTypeOptions.withOverride(Boolean override)
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. |
| Modifier and Type | Method and Description |
|---|---|
void |
ResponseHeadersPolicySecurityHeadersConfig.setContentTypeOptions(ResponseHeadersPolicyContentTypeOptions contentTypeOptions)
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
ResponseHeadersPolicySecurityHeadersConfig |
ResponseHeadersPolicySecurityHeadersConfig.withContentTypeOptions(ResponseHeadersPolicyContentTypeOptions contentTypeOptions)
Determines whether CloudFront includes the
X-Content-Type-Options HTTP response header with its
value set to nosniff. |
Copyright © 2022. All rights reserved.