/AWS1/CL_LSABUCKETCORSCONFIG¶
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).
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_rules TYPE /AWS1/CL_LSABUCKETCORSRULE=>TT_BUCKETCORSRULES TT_BUCKETCORSRULES¶
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.
Queryable Attributes¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULES() |
Getter for RULES, with configurable default |
ASK_RULES() |
Getter for RULES w/ exceptions if field has no value |
HAS_RULES() |
Determine if RULES has a value |