Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data CORSConfiguration Source #
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.
See: newCORSConfiguration
smart constructor.
Instances
newCORSConfiguration :: CORSConfiguration Source #
Create a value of CORSConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cORSRules:CORSConfiguration'
, cORSConfiguration_cORSRules
- A set of origins and methods (cross-origin access that you want to
allow). You can add up to 100 rules to the configuration.
cORSConfiguration_cORSRules :: Lens' CORSConfiguration [CORSRule] Source #
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.