Skip to content

S3  >  Structures  >  CORSConfiguration

CORSConfiguration

Structure Class

CORSConfiguration dataclass

Bases: _SerdeShape

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.

Attributes

cors_rules instance-attribute
cors_rules: list[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.