class Aws::S3::Types::Rule


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule 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 [Types::NoncurrentVersionTransition]
specific period in the object’s lifetime.
INTELLIGENT_TIERING, GLACIER or DEEP_ARCHIVE storage class at a
object versions to the STANDARD_IA, ONEZONE_IA,
can set this action to request that Amazon S3 transition noncurrent
your bucket is versioning-enabled (or versioning is suspended), you
INTELLIGENT_TIERING, GLACIER or DEEP_ARCHIVE storage class. If
objects transition to the STANDARD_IA, ONEZONE_IA,
Container for the transition rule that describes when noncurrent
@!attribute [rw] noncurrent_version_transition
@return [Types::Transition]
@!attribute [rw] transition
@return [String]
‘Disabled’, the rule is not currently being applied.
If ‘Enabled’, the rule is currently being applied. If
@!attribute [rw] status
@return [String]
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_transition: {
},
storage_class: “GLACIER”, # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
days: 1,
date: Time.now,
transition: {
status: “Enabled”, # required, accepts Enabled, Disabled
prefix: “Prefix”, # required
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 Rule