You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ForecastService::Types::EncryptionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ForecastService::Types::EncryptionConfig
- Defined in:
- (unknown)
Overview
When passing EncryptionConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
role_arn: "Arn", # required
kms_key_arn: "KMSKeyArn", # required
}
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.
Returned by:
Instance Attribute Summary collapse
-
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of the KMS key.
-
#role_arn ⇒ String
The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
Instance Attribute Details
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of the KMS key.
#role_arn ⇒ String
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.