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:
- Returns:
A BucketWebsite resource