This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:StringTransitionDate:StringTransitionInDays: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_IAUpdate 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. If the specified storage class is
INTELLIGENT_TIERING,GLACIER_IR,GLACIER, orDEEP_ARCHIVE, valid values are0or positive integers. If the specified storage class isSTANDARD_IAorONEZONE_IA, valid values are positive integers greater than30. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.Required: Conditional
Type: Integer
Update requires: No interruption
See also
-
AWS::S3::Bucket Examples