class Aws::S3::Types::Rule


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Rule AWS API Documentation
@return [Types::AbortIncompleteMultipartUpload]
@!attribute [rw] abort_incomplete_multipart_upload
@return [Types::NoncurrentVersionExpiration]
@!attribute [rw] noncurrent_version_expiration
@return [Types::NoncurrentVersionTransition]
@!attribute [rw] noncurrent_version_transition
@return [Types::Transition]
@!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]
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]
@!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/RESTBucketPUTlifecycle.html<br><br><br><br>Storage Service API Reference*.
information, see [PUT Bucket lifecycle] in the *Amazon Simple
Specifies lifecycle rules for an Amazon S3 bucket. For more