class Aws::S3::Types::Rule
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule AWS API Documentation
@return [Types::AbortIncompleteMultipartUpload]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config<br><br><br><br>S3 User Guide*.
Multipart Uploads Using a Bucket Lifecycle Policy] in the *Amazon
parts of the upload. For more information, see [ Aborting Incomplete
upload that Amazon S3 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]
a specific period in the object’s lifetime.
‘INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE` storage class at
noncurrent object versions to the `STANDARD_IA`, `ONEZONE_IA`,
you can set this action to request that Amazon S3 transition
If your bucket is versioning-enabled (or versioning is suspended),
`INTELLIGENT_TIERING`, `GLACIER`, or `DEEP_ARCHIVE` storage class.
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]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-transition-general-considerations.html<br><br><br><br>*Amazon S3 User Guide*.
see [Transitioning Objects Using Amazon S3 Lifecycle] in the
For more information about Amazon S3 lifecycle configuration rules,
Specifies when an object transitions to a specified storage class.
@!attribute [rw] transition
@return [String]
the rule is not currently being applied.
If `Enabled`, the rule is currently being applied. If `Disabled`,
@!attribute [rw] status
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-xml-related-constraints<br><br><br><br>more information, see [ XML related object key constraints].
characters (such as carriage returns) when using XML requests. For
Replacement must be made for object keys containing special
rule applies.
Object key prefix that identifies one or more objects to which this
@!attribute [rw] prefix
@return [String]
characters.
Unique identifier for the rule. The value can’t be longer than 255
@!attribute [rw] id
@return [Types::LifecycleExpiration]
Specifies the expiration for the lifecycle of the object.
@!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<br><br>: docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html#API_PutBucketLifecycleConfiguration_Examples<br>[1]: docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTlifecycle.html<br><br><br><br>Configuration Examples].
*Amazon S3 API Reference*. For examples, see [Put Bucket Lifecycle
information, see [Put Bucket Lifecycle Configuration] in the
Specifies lifecycle rules for an Amazon S3 bucket. For more