class Aws::S3::Types::LifecycleRule
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/LifecycleRule AWS API Documentation
@return [Types::AbortIncompleteMultipartUpload]
parts of the upload.
Upload that Lifecycle will wait before permanently removing all
Specifies the days since the initiation of an Incomplete Multipart
@!attribute [rw] abort_incomplete_multipart_upload
@return [Types::NoncurrentVersionExpiration]
lifetime.
noncurrent object versions at a specific period in the object’s
versioning enabled (or suspended) to request that Amazon S3 delete
set this lifecycle configuration action on a bucket that has
Amazon S3 permanently deletes the noncurrent object versions. You
Specifies when noncurrent object versions expire. Upon expiration,
@!attribute [rw] noncurrent_version_expiration
@return [Array<Types::NoncurrentVersionTransition>]
@!attribute [rw] noncurrent_version_transitions
@return [Array<Types::Transition>]
@!attribute [rw] transitions
@return [String]
‘Disabled’, the rule is not currently being applied.
If ‘Enabled’, the rule is currently being applied. If
@!attribute [rw] status
@return [Types::LifecycleRuleFilter]
to. A Filter must have exactly one of Prefix, Tag, or And specified.
The Filter is used to identify objects that a Lifecycle Rule applies
@!attribute [rw] filter
@return [String]
This is No longer used; use Filter instead.
Prefix identifying one or more objects to which the rule applies.
@!attribute [rw] prefix
@return [String]
characters.
Unique identifier for the rule. The value cannot be longer than 255
@!attribute [rw] id
@return [Types::LifecycleExpiration]
@!attribute [rw] expiration
}
},
days_after_initiation: 1,
abort_incomplete_multipart_upload: {
},
noncurrent_days: 1,
noncurrent_version_expiration: {
],
},
storage_class: “GLACIER”, # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
noncurrent_days: 1,
{
noncurrent_version_transitions: [
],
},
storage_class: “GLACIER”, # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
days: 1,
date: Time.now,
{
transitions: [
status: “Enabled”, # required, accepts Enabled, Disabled
},
},
],
},
value: “Value”, # required
key: “ObjectKey”, # required
{
tags: [
prefix: “Prefix”,
and: {
},
value: “Value”, # required
key: “ObjectKey”, # required
tag: {
prefix: “Prefix”,
filter: {
prefix: “Prefix”,
id: “ID”,
},
expired_object_delete_marker: false,
days: 1,
date: Time.now,
expiration: {
{
data as a hash:
@note When making an API call, you may pass LifecycleRule