aws s3api get-bucket-lifecycle-configuration
Returns the lifecycle configuration information set on the bucket. 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.