libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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' 

Fields

  • cORSRules :: [CORSRule]

    A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.

Instances

Instances details
Eq CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

Read CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

Show CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

Generic CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

Associated Types

type Rep CORSConfiguration :: Type -> Type #

NFData CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

Methods

rnf :: CORSConfiguration -> () #

Hashable CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

ToXML CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

type Rep CORSConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.CORSConfiguration

type Rep CORSConfiguration = D1 ('MetaData "CORSConfiguration" "Amazonka.S3.Types.CORSConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "CORSConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cORSRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CORSRule])))

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.