Optional ReadonlyabortDays after which incomplete multipart uploads are aborted.
AWS: S3 Lifecycle Rule AbortIncompleteMultipartUpload DaysAfterInitiation
Validation: Optional; positive integer
Optional ReadonlyexpirationdaysDays after object creation before current versions expire (are deleted).
AWS: S3 Lifecycle Rule Expiration ExpirationInDays
Validation: Optional; positive integer
Optional ReadonlyexpiredWhether to remove expired object delete markers.
AWS: S3 Lifecycle Rule Expiration ExpiredObjectDeleteMarker
Validation: Optional; boolean
ReadonlyidUnique identifier for the lifecycle rule.
AWS: S3 Lifecycle Rule ID
Validation: Required; unique within the bucket
Optional ReadonlynoncurrentDays after a version becomes noncurrent before it expires (is deleted).
AWS: S3 Lifecycle Rule NoncurrentVersionExpiration NoncurrentDays
Validation: Optional; positive integer
Optional ReadonlynoncurrentNumber of newer noncurrent versions to retain before expiring older ones.
AWS: S3 Lifecycle Rule NoncurrentVersionExpiration NewerNoncurrentVersions
Validation: Optional; positive integer
Optional ReadonlynoncurrentStorage-class transitions applied to noncurrent object versions.
AWS: S3 Lifecycle Rule NoncurrentVersionTransitions
Validation: Optional; array of LifecycleTransitionProps
Optional ReadonlyobjectOnly apply the rule to objects larger than this size in bytes.
AWS: S3 Lifecycle Rule Filter ObjectSizeGreaterThan
Validation: Optional; positive integer (bytes)
Optional ReadonlyobjectOnly apply the rule to objects smaller than this size in bytes.
AWS: S3 Lifecycle Rule Filter ObjectSizeLessThan
Validation: Optional; positive integer (bytes)
Optional ReadonlyprefixObject key prefix the rule applies to. When omitted, the rule applies to all objects in the bucket.
AWS: S3 Lifecycle Rule Filter Prefix
Validation: Optional; S3 key prefix
ReadonlystatusWhether the rule is active.
AWS: S3 Lifecycle Rule Status
Validation: Required; one of 'Enabled' or 'Disabled' (case-insensitive)
Optional ReadonlytransitionsStorage-class transitions applied to current object versions.
AWS: S3 Lifecycle Rule Transitions
Validation: Optional; array of LifecycleTransitionProps
A single S3 lifecycle rule controlling storage-class transitions and expiration for objects in a bucket.
Use cases: Automated cost optimization; Data retention/expiration policies; Cleaning up incomplete multipart uploads and old versions
AWS: S3 Bucket Lifecycle Rule
Validation: id and status required; remaining fields optional