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 EncryptionConfig Source #
An AWS Key Management Service (KMS) key and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset and CreatePredictor requests.
See: newEncryptionConfig
smart constructor.
Instances
Create a value of EncryptionConfig
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:roleArn:EncryptionConfig'
, encryptionConfig_roleArn
- The ARN of the IAM role that Amazon Forecast can assume to access the
AWS KMS key.
Passing a role across AWS accounts is not allowed. If you pass a role
that isn't in your account, you get an InvalidInputException
error.
$sel:kmsKeyArn:EncryptionConfig'
, encryptionConfig_kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key.
encryptionConfig_roleArn :: Lens' EncryptionConfig Text Source #
The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
Passing a role across AWS accounts is not allowed. If you pass a role
that isn't in your account, you get an InvalidInputException
error.
encryptionConfig_kmsKeyArn :: Lens' EncryptionConfig Text Source #
The Amazon Resource Name (ARN) of the KMS key.