LifecycleRule
¶
Source code in docs_src/capo_s3_control/types/lifecycle_rule.py
abort_incomplete_multipart_upload
instance-attribute
¶
abort_incomplete_multipart_upload: NotRequired[AbortIncompleteMultipartUpload]
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 waits before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration in the Amazon S3 User Guide.
expiration
instance-attribute
¶
expiration: NotRequired[LifecycleExpiration]
Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.
filter
instance-attribute
¶
filter: NotRequired[LifecycleRuleFilter]
The container for the filter of lifecycle rule.
id
instance-attribute
¶
id: NotRequired[ID]
Unique identifier for the rule. The value cannot be longer than 255 characters.
noncurrent_version_expiration
instance-attribute
¶
noncurrent_version_expiration: NotRequired[NoncurrentVersionExpiration]
The noncurrent version expiration of the lifecycle rule.
noncurrent_version_transitions
instance-attribute
¶
noncurrent_version_transitions: NotRequired[NoncurrentVersionTransitionList]
Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime.
This is not supported by Amazon S3 on Outposts buckets.
status
instance-attribute
¶
status: ExpirationStatus
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.
transitions
instance-attribute
¶
transitions: NotRequired[TransitionList]
Specifies when an Amazon S3 object transitions to a specified storage class.
This is not supported by Amazon S3 on Outposts buckets.