AWS::S3::Bucket Transition - AWS CloudFormation

AWS::S3::Bucket Transition

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide.

Syntax

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

JSON

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

YAML

StorageClass: String TransitionDate: String TransitionInDays: Integer

Properties

StorageClass

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

Required: Yes

Type: String

Allowed values: DEEP_ARCHIVE | GLACIER | Glacier | GLACIER_IR | 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: String

Pattern: ^([0-2]\d{3})-(0[0-9]|1[0-2])-([0-2]\d|3[01])T([01]\d|2[0-4]):([0-5]\d):([0-6]\d)((\.\d{3})?)Z$

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

See also