Skip to content

CloudFront  >  Structures  >  ResponseHeadersPolicyCustomHeader

ResponseHeadersPolicyCustomHeader

Structure Class

ResponseHeadersPolicyCustomHeader dataclass

Bases: _SerdeShape

An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.

Attributes

header instance-attribute
header: str

The HTTP response header name.

override instance-attribute
override: bool

A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

value instance-attribute
value: str

The value for the HTTP response header.