{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "LifecycleRules", "type": "array", "items": { "type": "object", "properties": { "Expiration": {}, "ID": {}, "Prefix": {}, "Filter": {}, "Status": {}, "Transitions": {}, "NoncurrentVersionTransitions": {}, "NoncurrentVersionExpiration": { "type": "object", "properties": { "NoncurrentDays": { "allOf": [ { "$ref": "#/components/schemas/Days" }, { "description": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide." } ] }, "NewerNoncurrentVersions": { "allOf": [ { "$ref": "#/components/schemas/VersionCount" }, { "description": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide." } ] } }, "description": "Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime." }, "AbortIncompleteMultipartUpload": { "type": "object", "properties": { "DaysAfterInitiation": { "allOf": [ { "$ref": "#/components/schemas/DaysAfterInitiation" }, { "description": "Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload." } ] } }, "description": "Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the Amazon S3 User Guide." } }, "required": [ "Status" ], "description": "A lifecycle rule for individual objects in an Amazon S3 bucket." } }