LifecycleExpiration
¶
Source code in docs_src/capo_s3_control/types/lifecycle_expiration.py
date
instance-attribute
¶
date: NotRequired[Date]
Indicates at what date the object is to be deleted. Should be in GMT ISO 8601 format.
days
instance-attribute
¶
days: Days
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
expired_object_delete_marker
instance-attribute
¶
expired_object_delete_marker: ExpiredObjectDeleteMarker
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired. If set to false, the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy. To learn more about delete markers, see Working with delete markers.