Creates a new BucketCorsRule.
allowedHeaders List of headers allowed.
allowedMethods One or more HTTP methods that you allow the origin to execute. Can be GET, PUT, POST, DELETE or HEAD.
allowedOrigins One or more origins you want customers to be able to access the bucket from.
exposeHeaders One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
maxAgeSeconds Time in seconds that browser can cache the response for a preflight request.
One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).