amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.Types.S3Config

Description

 
Synopsis

Documentation

data S3Config Source #

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role used to access an Amazon S3 bucket.

For detailed information about using such a role, see Creating a Location for Amazon S3 in the DataSync User Guide.

See: newS3Config smart constructor.

Constructors

S3Config' 

Fields

Instances

Instances details
FromJSON S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

ToJSON S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

Generic S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

Associated Types

type Rep S3Config :: Type -> Type #

Methods

from :: S3Config -> Rep S3Config x #

to :: Rep S3Config x -> S3Config #

Read S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

Show S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

NFData S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

Methods

rnf :: S3Config -> () #

Eq S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

Hashable S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

Methods

hashWithSalt :: Int -> S3Config -> Int #

hash :: S3Config -> Int #

type Rep S3Config Source # 
Instance details

Defined in Amazonka.DataSync.Types.S3Config

type Rep S3Config = D1 ('MetaData "S3Config" "Amazonka.DataSync.Types.S3Config" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "S3Config'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Config Source #

Create a value of S3Config 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:bucketAccessRoleArn:S3Config', s3Config_bucketAccessRoleArn - The ARN of the IAM role for accessing the S3 bucket.

s3Config_bucketAccessRoleArn :: Lens' S3Config Text Source #

The ARN of the IAM role for accessing the S3 bucket.