ServiceResource / Sub-Resource / BucketLifecycleConfiguration

BucketLifecycleConfiguration#

S3.ServiceResource.BucketLifecycleConfiguration(bucket_name)#

Creates a BucketLifecycleConfiguration resource.:

bucket_lifecycle_configuration = s3.BucketLifecycleConfiguration('bucket_name')
Parameters:

bucket_name (string) – The BucketLifecycleConfiguration’s bucket_name identifier. This must be set.

Return type:

S3.BucketLifecycleConfiguration

Returns:

A BucketLifecycleConfiguration resource