Class PutCORSConfigurationRequest
Container for the parameters to the PutCORSConfiguration operation.
Sets the cors configuration for a bucket.
public class PutCORSConfigurationRequest : AmazonWebServiceRequest
- Inheritance
-
PutCORSConfigurationRequest
Constructors
PutCORSConfigurationRequest()
public PutCORSConfigurationRequest()
Properties
BucketName
The name of the bucket to have the CORS configuration applied.
public string BucketName { get; set; }
Property Value
Configuration
The CORS configuration to apply.
public CORSConfiguration Configuration { get; set; }
Property Value
ExpectedBucketOwner
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
public string ExpectedBucketOwner { get; set; }