Class: Aws::S3::Types::CORSConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cors_rulesArray<Types::CORSRule>

A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Returns:


403
404
405
406
407
# File 'lib/aws-sdk-s3/types.rb', line 403

class CORSConfiguration < Struct.new(
  :cors_rules)
  SENSITIVE = []
  include Aws::Structure
end