ServiceResource / Sub-Resource / BucketLogging

BucketLogging#

S3.ServiceResource.BucketLogging(bucket_name)#

Creates a BucketLogging resource.:

bucket_logging = s3.BucketLogging('bucket_name')
Parameters:

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

Return type:

S3.BucketLogging

Returns:

A BucketLogging resource