Skip to content

CloudFront  >  Dictionaries  >  CustomErrorResponsesDict

CustomErrorResponsesDict

Dictionary Type

CustomErrorResponsesDict

Bases: TypedDict

Dictionary form of CustomErrorResponses.

Attributes

items instance-attribute

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

quantity instance-attribute
quantity: Required[int]

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.