Class CfnDataset.EncryptionConfigProperty
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.
Inheritance
System.Object
CfnDataset.EncryptionConfigProperty
Implements
Namespace: Amazon.CDK.AWS.Forecast
Assembly: Amazon.CDK.AWS.Forecast.dll
Syntax (csharp)
public class EncryptionConfigProperty : Object, CfnDataset.IEncryptionConfigProperty
Syntax (vb)
Public Class EncryptionConfigProperty
Inherits Object
Implements CfnDataset.IEncryptionConfigProperty
Remarks
You can specify this optional object in the CreateDataset
and CreatePredictor
requests.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Forecast;
var encryptionConfigProperty = new EncryptionConfigProperty {
KmsKeyArn = "kmsKeyArn",
RoleArn = "roleArn"
};
Synopsis
Constructors
EncryptionConfigProperty() |
Properties
KmsKeyArn | The Amazon Resource Name (ARN) of the KMS key. |
RoleArn | The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key. |
Constructors
EncryptionConfigProperty()
public EncryptionConfigProperty()
Properties
KmsKeyArn
The Amazon Resource Name (ARN) of the KMS key.
public string KmsKeyArn { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
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.