aws s3api get-bucket-lifecycle
For an updated version of this API, see GetBucketLifecycleConfiguration. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bucketThe name of the bucket for which to get the lifecycle information.--expected-bucket-ownerThe account ID of the expected bucket owner.