ServiceResource / Sub-Resource / BucketWebsite

BucketWebsite#

S3.ServiceResource.BucketWebsite(bucket_name)#

Creates a BucketWebsite resource.:

bucket_website = s3.BucketWebsite('bucket_name')
Parameters:

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

Return type:

S3.BucketWebsite

Returns:

A BucketWebsite resource