Skip to content

CloudFront  >  Dictionaries  >  ResponseHeadersPolicyConfigDict

ResponseHeadersPolicyConfigDict

Dictionary Type

ResponseHeadersPolicyConfigDict

Bases: TypedDict

Dictionary form of ResponseHeadersPolicyConfig.

Attributes

comment instance-attribute
comment: str | None

A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

cors_config instance-attribute

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

custom_headers_config instance-attribute

A configuration for a set of custom HTTP response headers.

name instance-attribute
name: Required[str]

A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

remove_headers_config instance-attribute

A configuration for a set of HTTP headers to remove from the HTTP response.

security_headers_config instance-attribute

A configuration for a set of security-related HTTP response headers.

server_timing_headers_config instance-attribute

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.