class Aws::S3::Types::PutBucketCorsRequest


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest AWS API Documentation
@return [String]<br>: www.ietf.org/rfc/rfc1864.txt<br><br><br><br>1864.][1]<br>was not corrupted in transit. For more information, go to [RFC
be used as a message integrity check to verify that the request body
The base64-encoded 128-bit MD5 digest of the data. This header must
@!attribute [rw] content_md5
@return [Types::CORSConfiguration]<br>: docs.aws.amazon.com/AmazonS3/latest/dev//cors.html<br><br><br><br>Guide*.
Resource Sharing] in the *Amazon Simple Storage Service Developer
Amazon S3 bucket. For more information, see [Enabling Cross-Origin
Describes the cross-origin access configuration for objects in an
@!attribute [rw] cors_configuration
@return [String]
Specifies the bucket impacted by the ‘cors`configuration.
@!attribute [rw] bucket
}
content_md5: “ContentMD5”,
},
],
},
max_age_seconds: 1,
expose_headers: [“ExposeHeader”],
allowed_origins: [“AllowedOrigin”], # required
allowed_methods: [“AllowedMethod”], # required
allowed_headers: [“AllowedHeader”],
{
cors_rules: [ # required
cors_configuration: { # required
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass PutBucketCorsRequest