Amazon S3 API · Schema

LifecycleRule

A lifecycle rule for individual objects in an Amazon S3 bucket.

Cloud StorageObject StorageStorage

Properties

Name Type Description
Expiration object
ID object
Prefix object
Filter object
Status object
Transitions object
NoncurrentVersionTransitions object
NoncurrentVersionExpiration object 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 versio
AbortIncompleteMultipartUpload object 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 View JSON Schema on GitHub

JSON Schema

s3-lifecyclerule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LifecycleRule",
  "type": "object",
  "properties": {
    "Expiration": {},
    "ID": {},
    "Prefix": {},
    "Filter": {},
    "Status": {},
    "Transitions": {},
    "NoncurrentVersionTransitions": {},
    "NoncurrentVersionExpiration": {
      "type": "object",
      "properties": {
        "NoncurrentDays": {},
        "NewerNoncurrentVersions": {}
      },
      "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": {}
      },
      "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 <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config\"> Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy</a> in the <i>Amazon S3 User Guide</i>."
    }
  },
  "required": [
    "Status"
  ],
  "description": "A lifecycle rule for individual objects in an Amazon S3 bucket."
}