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
- data S3Config = S3Config' {}
- newS3Config :: Text -> S3Config
- s3Config_bucketAccessRoleArn :: Lens' S3Config Text
Documentation
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that is 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.
S3Config' | |
|
Instances
Eq S3Config Source # | |
Read S3Config Source # | |
Show S3Config Source # | |
Generic S3Config Source # | |
NFData S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config | |
Hashable S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config | |
ToJSON S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config | |
FromJSON S3Config Source # | |
type Rep S3Config Source # | |
Defined in Amazonka.DataSync.Types.S3Config type Rep S3Config = D1 ('MetaData "S3Config" "Amazonka.DataSync.Types.S3Config" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "S3Config'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
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 Amazon S3 bucket to access. This bucket is used as a parameter in
the
CreateLocationS3
operation.
s3Config_bucketAccessRoleArn :: Lens' S3Config Text Source #
The Amazon S3 bucket to access. This bucket is used as a parameter in the CreateLocationS3 operation.