Skip to content

CloudFront  >  Dictionaries  >  TrafficConfigDict

TrafficConfigDict

Dictionary Type

TrafficConfigDict

Bases: TypedDict

Dictionary form of TrafficConfig.

Attributes

single_header_config instance-attribute

Determines which HTTP requests are sent to the staging distribution.

single_weight_config instance-attribute

Contains the percentage of traffic to send to the staging distribution.

type instance-attribute
type: Required[str]

The type of traffic configuration.