Transition

class aws_cdk.aws_s3.Transition(*, storage_class, transition_after=None, transition_date=None)

Bases: object

__init__(*, storage_class, transition_after=None, transition_date=None)

Describes when an object transitions to a specified storage class.

Parameters
  • storage_class (StorageClass) – The storage class to which you want the object to transition.

  • transition_after (Optional[Duration]) – Indicates the number of days after creation when objects are transitioned to the specified storage class. Default: No transition count.

  • transition_date (Optional[datetime]) – 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. Default: No transition date.

Attributes

storage_class

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

Return type

StorageClass

transition_after

Indicates the number of days after creation when objects are transitioned to the specified storage class.

default :default: No transition count.

Return type

Optional[Duration]

transition_date

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.

default :default: No transition date.

Return type

Optional[datetime]