AWS CloudFormation
User Guide (Version )

AWS::S3::Bucket Transition

Specifies when an object transitions to a specified storage class.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "StorageClass" : String, "TransitionDate" : Timestamp, "TransitionInDays" : Integer }

YAML

StorageClass: String TransitionDate: Timestamp TransitionInDays: Integer

Properties

StorageClass

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

Required: Yes

Type: String

Allowed Values: DEEP_ARCHIVE | GLACIER | INTELLIGENT_TIERING | ONEZONE_IA | STANDARD_IA

Update requires: No interruption

TransitionDate

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.

Required: Conditional

Type: Timestamp

Update requires: No interruption

TransitionInDays

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

Required: Conditional

Type: Integer

Update requires: No interruption

On this page: