get-bucket-lifecycle — AWS CLI 2.34.29 Command Reference
Use the AWS CLI 2.34.29 to run the s3api get-bucket-lifecycle command.