Table of Contents

Class PutCORSConfigurationRequest

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

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

string

Configuration

The CORS configuration to apply.

public CORSConfiguration Configuration { get; set; }

Property Value

CORSConfiguration

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; }

Property Value

string