lifecyclerule get-object-expiration

Prev Next

This command retrieves the expiration date for an object in a bucket governed by S3 lifecycle rules.

Usage
lifecyclerule get-object-expiration --bucket-name BUCKET_NAME
                                    --object-name OBJECT_NAME
Required Parameters

--bucket-name BUCKET_NAME

Specifies a bucket name.

--object-name OBJECT_NAME

Specifies the name of an object in the specified bucket.