This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CloudFront::ResponseHeadersPolicy 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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Comment" :String, "CorsConfig" :CorsConfig, "CustomHeadersConfig" :CustomHeadersConfig, "Name" :String, "RemoveHeadersConfig" :RemoveHeadersConfig, "SecurityHeadersConfig" :SecurityHeadersConfig, "ServerTimingHeadersConfig" :ServerTimingHeadersConfig}
YAML
Comment:StringCorsConfig:CorsConfigCustomHeadersConfig:CustomHeadersConfigName:StringRemoveHeadersConfig:RemoveHeadersConfigSecurityHeadersConfig:SecurityHeadersConfigServerTimingHeadersConfig:ServerTimingHeadersConfig
Properties
- Comment
- 
                    A comment to describe the response headers policy. The comment cannot be longer than 128 characters. Required: No Type: String Update requires: No interruption 
- CorsConfig
- 
                    A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). Required: No Type: CorsConfig Update requires: No interruption 
- CustomHeadersConfig
- 
                    A configuration for a set of custom HTTP response headers. Required: No Type: CustomHeadersConfig Update requires: No interruption 
- Name
- 
                    A name to identify the response headers policy. The name must be unique for response headers policies in this AWS account. Required: Yes Type: String Update requires: No interruption 
- RemoveHeadersConfig
- 
                    A configuration for a set of HTTP headers to remove from the HTTP response. Required: No Type: RemoveHeadersConfig Update requires: No interruption 
- SecurityHeadersConfig
- 
                    A configuration for a set of security-related HTTP response headers. Required: No Type: SecurityHeadersConfig Update requires: No interruption 
- ServerTimingHeadersConfig
- 
                    A configuration for enabling the Server-Timingheader in HTTP responses sent from CloudFront.Required: No Type: ServerTimingHeadersConfig Update requires: No interruption