ServiceResource / Sub-Resource / BucketCors
BucketCors#
- S3.ServiceResource.BucketCors(bucket_name)#
Creates a BucketCors resource.:
bucket_cors = s3.BucketCors('bucket_name')
- Parameters:
bucket_name (string) – The BucketCors’s bucket_name identifier. This must be set.
- Return type:
- Returns:
A BucketCors resource