Interface CfnDatasetPropsMixin.EncryptionConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatasetPropsMixin.EncryptionConfigProperty.Jsii$Proxy
- Enclosing class:
CfnDatasetPropsMixin
@Stability(Stable)
public static interface CfnDatasetPropsMixin.EncryptionConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.forecast.*;
EncryptionConfigProperty encryptionConfigProperty = EncryptionConfigProperty.builder()
.kmsKeyArn("kmsKeyArn")
.roleArn("roleArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatasetPropsMixin.EncryptionConfigPropertystatic final classAn implementation forCfnDatasetPropsMixin.EncryptionConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKmsKeyArn
The Amazon Resource Name (ARN) of the KMS key.- See Also:
-
getRoleArn
The ARN of the IAM role that Amazon Forecast can assume to access the AWS key.Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an
InvalidInputExceptionerror.- See Also:
-
builder
-