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 Simple Storage Service Developer Guide.

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

See also