AWS::CloudFront::ResponseHeadersPolicy ResponseHeadersPolicyConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon CloudFormation template, use the following syntax:

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 Amazon Web Services 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-Timing header in HTTP responses sent from CloudFront.

Required: No

Type: ServerTimingHeadersConfig

Update requires: No interruption