AWS SDK for .NET Documentation
PutCORSConfiguration Method (request)
AmazonAmazon.S3AmazonS3PutCORSConfiguration(PutCORSConfigurationRequest) Did this page help you?   Yes   No    Tell us about it...
Applies a CORS (cross-origin resource sharing) configuration to a bucket.
Declaration Syntax
Parameters
request (PutCORSConfigurationRequest)
The PutCORSConfigurationRequest that defines the parameters of the operation.
Return Value
Returns a PutCORSConfigurationResponse from S3.
Remarks

You set this configuration on a bucket so that the bucket can service cross-origin requests.

If a configuration already exists for the specified bucket, the new configuration will replace the existing configuration.

For more information on CORS configurations, refer: http://docs.amazonwebservices.com/AmazonS3/latest/dev/

Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)