Skip to content

CloudFront  >  Structures  >  CacheBehaviors

CacheBehaviors

Structure Class

CacheBehaviors dataclass

Bases: _SerdeShape

A complex type that contains zero or more CacheBehavior elements.

Attributes

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

Optional: A complex type that contains cache behaviors for this distribution. If Quantity is 0, you can omit Items.

quantity instance-attribute
quantity: int

The number of cache behaviors for this distribution.