s3_get_bucket_cors: Returns the cors configuration information set for the bucket
Description
Returns the cors configuration information set for the bucket.
Usage
s3_get_bucket_cors(Bucket)
Arguments
Bucket
[required] The bucket name for which to get the cors configuration.
Request syntax
svc$get_bucket_cors(
Bucket = "string"
)
Details
To use this operation, you must have permission to perform the
s3:GetBucketCORS action. By default, the bucket owner has this
permission and can grant it to others.
# NOT RUN {# The following example returns cross-origin resource sharing (CORS)# configuration set on a bucket.svc$get_bucket_cors(
Bucket = "examplebucket")
# }# NOT RUN {# }