Skip to content

CloudFront  >  Structures  >  CustomHeaders

CustomHeaders

Structure Class

CustomHeaders dataclass

Bases: _SerdeShape

A complex type that contains the list of Custom Headers for each origin.

Attributes

items class-attribute instance-attribute
items: list[OriginCustomHeader] | None = ...

Optional: A list that contains one OriginCustomHeader element for each custom header that you want CloudFront to forward to the origin. If Quantity is 0, omit Items.

quantity instance-attribute
quantity: int

The number of custom headers, if any, for this distribution.