Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon S3 Bucket Transition

Describes when an object transitions to a specified storage class for the Amazon S3 Bucket Rule property.

Syntax

JSON

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

YAML

Copy
StorageClass: String TransitionDate: String TransitionInDays: Integer

Properties

StorageClass

The storage class to which you want the object to transition, such as GLACIER. For valid values, see the StorageClass request element of the PUT Bucket lifecycle action in the Amazon Simple Storage Service API Reference.

Required: Yes

Type: String

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

TransitionInDays

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

Required: Conditional

Type: Integer

On this page: