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
S3.BucketCors
Returns
A BucketCors resource