AWS::S3::Bucket CorsConfiguration - AWS CloudFormation

AWS::S3::Bucket 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.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "CorsRules" : [ 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.

Required: Yes

Type: List of CorsRule

Update requires: No interruption

See also