Class CfnDatasetPropsMixin.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.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Forecast.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDatasetPropsMixin.EncryptionConfigProperty : CfnDatasetPropsMixin.IEncryptionConfigProperty
Syntax (vb)
Public Class CfnDatasetPropsMixin.EncryptionConfigProperty Implements CfnDatasetPropsMixin.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.Mixins.Preview.AWS.Forecast.Mixins;
var encryptionConfigProperty = new EncryptionConfigProperty {
KmsKeyArn = "kmsKeyArn",
RoleArn = "roleArn"
};
Synopsis
Constructors
| 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. |
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 key. |
Constructors
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.
public EncryptionConfigProperty()
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.Mixins.Preview.AWS.Forecast.Mixins;
var encryptionConfigProperty = new EncryptionConfigProperty {
KmsKeyArn = "kmsKeyArn",
RoleArn = "roleArn"
};
Properties
KmsKeyArn
The Amazon Resource Name (ARN) of the KMS key.
public string? KmsKeyArn { get; set; }
Property Value
Remarks
RoleArn
The ARN of the IAM role that Amazon Forecast can assume to access the AWS key.
public string? RoleArn { get; set; }
Property Value
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.