Class: Aws::ForecastService::Types::EncryptionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ForecastService::Types::EncryptionConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-forecastservice/types.rb
Overview
An Key Management Service (KMS) key and an 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.
Constant Summary collapse
- SENSITIVE =
[]
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 KMS key.
Instance Attribute Details
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of the KMS key.
3809 3810 3811 3812 3813 3814 |
# File 'lib/aws-sdk-forecastservice/types.rb', line 3809 class EncryptionConfig < Struct.new( :role_arn, :kms_key_arn) SENSITIVE = [] include Aws::Structure end |
#role_arn ⇒ String
The ARN of the IAM role that Amazon Forecast can assume to access the KMS key.
Passing a role across Amazon Web Services accounts is not allowed. If you pass a role that isn’t in your account, you get an ‘InvalidInputException` error.
3809 3810 3811 3812 3813 3814 |
# File 'lib/aws-sdk-forecastservice/types.rb', line 3809 class EncryptionConfig < Struct.new( :role_arn, :kms_key_arn) SENSITIVE = [] include Aws::Structure end |