Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PutBucketCorsRequest

Hierarchy

  • PutBucketCorsRequest

Index

Properties

Bucket

Bucket: string

Specifies the bucket impacted by the corsconfiguration.

CORSConfiguration

CORSConfiguration: CORSConfiguration

Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.

Optional ContentMD5

ContentMD5: string

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to RFC 1864. For requests made using the AWS Command Line Interface (CLI) or AWS SDKs, this field is calculated automatically.

Optional ExpectedBucketOwner

ExpectedBucketOwner: string

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.

Generated using TypeDoc