Class: Aws::Lightsail::Types::BucketCorsConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

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).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rulesArray<Types::BucketCorsRule>

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.

Returns:



1315
1316
1317
1318
1319
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1315

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