ResponseHeadersPolicyConfig
A response headers policy configuration.
A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.
Contents
- Name
-
A name to identify the response headers policy.
The name must be unique for response headers policies in this AWS account.
Type: String
Required: Yes
- Comment
-
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
Type: String
Required: No
- CorsConfig
-
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
Type: ResponseHeadersPolicyCorsConfig object
Required: No
- CustomHeadersConfig
-
A configuration for a set of custom HTTP response headers.
Type: ResponseHeadersPolicyCustomHeadersConfig object
Required: No
- RemoveHeadersConfig
-
A configuration for a set of HTTP headers to remove from the HTTP response.
Type: ResponseHeadersPolicyRemoveHeadersConfig object
Required: No
- SecurityHeadersConfig
-
A configuration for a set of security-related HTTP response headers.
Type: ResponseHeadersPolicySecurityHeadersConfig object
Required: No
- ServerTimingHeadersConfig
-
A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.Type: ResponseHeadersPolicyServerTimingHeadersConfig object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: