class Aws::S3::Types::PutBucketCorsRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest AWS API Documentation
@return [String]
@!attribute [rw] content_md5
@return [Types::CORSConfiguration]
@!attribute [rw] cors_configuration
@return [String]
@!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