ServiceResource / Sub-Resource / BucketLifecycle
BucketLifecycle#
- S3.ServiceResource.BucketLifecycle(bucket_name)#
Creates a BucketLifecycle resource.:
bucket_lifecycle = s3.BucketLifecycle('bucket_name')
- Parameters:
bucket_name (string) – The BucketLifecycle’s bucket_name identifier. This must be set.
- Return type:
- Returns:
A BucketLifecycle resource