ServiceResource / Sub-Resource / BucketAcl

BucketAcl#

S3.ServiceResource.BucketAcl(bucket_name)#

Creates a BucketAcl resource.:

bucket_acl = s3.BucketAcl('bucket_name')
Parameters:

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

Return type:

S3.BucketAcl

Returns:

A BucketAcl resource