Learn R Programming

paws.storage (version 0.2.0)

s3_get_bucket_cors: Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the bucket

Description

Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the bucket.

See https://paws-r.github.io/docs/s3/get_bucket_cors.html for full documentation.

Usage

s3_get_bucket_cors(Bucket, ExpectedBucketOwner = NULL)

Arguments

Bucket

[required] The bucket name for which to get the cors configuration.

ExpectedBucketOwner

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).