Skip to content

CloudFront  >  Structures  >  OriginCustomHeader

OriginCustomHeader

Structure Class

OriginCustomHeader dataclass

Bases: _SerdeShape

A complex type that contains HeaderName and HeaderValue elements, if any, for this distribution.

Attributes

header_name instance-attribute
header_name: str

The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.

header_value instance-attribute
header_value: str

The value for the header that you specified in the HeaderName field.