ServiceResource / Sub-Resource / BucketVersioning

BucketVersioning#

S3.ServiceResource.BucketVersioning(bucket_name)#

Creates a BucketVersioning resource.:

bucket_versioning = s3.BucketVersioning('bucket_name')
Parameters:

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

Return type:

S3.BucketVersioning

Returns:

A BucketVersioning resource