Skip to content

S3  >  Dictionaries  >  TransitionDict

TransitionDict

Dictionary Type

TransitionDict

Bases: TypedDict

Dictionary form of Transition.

Attributes

date instance-attribute
date: datetime | None

Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

days instance-attribute
days: int | None

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value can be 0 or any positive integer. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.

storage_class instance-attribute
storage_class: str | None

The storage class to which you want the object to transition.