| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types.CORSConfiguration
Description
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.
Constructors
| CORSConfiguration' | |
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.