Skip to content

CustomHeaders

Source code in docs_src/capo_cloudfront/types/custom_headers.py
class CustomHeaders(TypedDict, closed=True):
    quantity: "capo_cloudfront.types.integer.integer"
    """<p>The number of custom headers, if any, for this distribution.</p>"""
    items: NotRequired[
        "capo_cloudfront.types.origin_custom_headers_list.OriginCustomHeadersList"
    ]
    """<p> <b>Optional</b>: A list that contains one <code>OriginCustomHeader</code> element for each custom header that you want CloudFront to forward to the origin. If Quantity is <code>0</code>, omit <code>Items</code>.</p>"""

items instance-attribute

items: NotRequired[OriginCustomHeadersList]

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: integer

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