BucketCorsConfig
Describes the cross-origin resource sharing (CORS) configuration for a Lightsail bucket. CORS defines a way for client web applications that are loaded in one domain to interact with resources in a different domain. For more information, see Configuring cross-origin resource sharing (CORS).
Contents
- rules
-
A set of origins and methods (cross-origin access that you want to allow). You can add up to 20 rules to the configuration. The total size is limited to 64 KB.
Type: Array of BucketCorsRule objects
Array Members: Maximum number of 20 items.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: