class Aws::S3::Types::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][1 -
in the *Amazon
S3
User Guide*.
[1]: docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html
@note When making an API call, you may pass Transition
data as a hash: { date: Time.now, days: 1, storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE }
@!attribute [rw] date
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. @return [Time]
@!attribute [rw] days
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. @return [Integer]
@!attribute [rw] storage_class
The storage class to which you want the object to transition. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Transition AWS API Documentation
Constants
- SENSITIVE