LifecycleRule

LifecycleRule
LifecycleRule
JSON Example
{
    "id": "string",
    "status": "string",
    "filter": {
        "prefix": "string",
        "tag": {
            "key": "string",
            "value": "string"
        },
        "and": {
            "prefix": "string",
            "tags": [
                {
                    "key": "string",
                    "value": "string"
                }
            ]
        }
    },
    "transitions": [
        {
            "days": 0,
            "date": "string",
            "storageClass": "string"
        }
    ],
    "noncurrentVersionTransitions": [
        {
            "noncurrentDays": 0,
            "storageClass": "string"
        }
    ],
    "noncurrentVersionExpiration": {
        "noncurrentDays": 0
    },
    "abortIncompleteMultipartUpload": {
        "daysAfterInitiation": 0
    },
    "expiration": {
        "date": "string",
        "days": 0,
        "expiredObjectDeleteMarker": false
    }
}
string
id
Optional

id

string
status
Optional

status

filter
Optional

filter

array of Transition
transitions
Optional

transitions

noncurrentVersionTransitions
Optional

noncurrentVersionTransitions

noncurrentVersionExpiration
Optional

noncurrentVersionExpiration

abortIncompleteMultipartUpload
Optional

abortIncompleteMultipartUpload

expiration
Optional

expiration