class Aws::S3::Types::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*.
[1]: docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
@note When making an API call, you may pass CORSConfiguration
data as a hash: { cors_rules: [ # required { id: "ID", allowed_headers: ["AllowedHeader"], allowed_methods: ["AllowedMethod"], # required allowed_origins: ["AllowedOrigin"], # required expose_headers: ["ExposeHeader"], max_age_seconds: 1, }, ], }
@!attribute [rw] cors_rules
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration. @return [Array<Types::CORSRule>]
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CORSConfiguration AWS API Documentation
Constants
- SENSITIVE