CfnDatasetGroupProps
- class aws_cdk.aws_personalize.CfnDatasetGroupProps(*, name, domain=None, kms_key_arn=None, role_arn=None)
Bases:
object
Properties for defining a
CfnDatasetGroup
.- Parameters:
name (
str
) – The name of the dataset group.domain (
Optional
[str
]) – The domain of a Domain dataset group.kms_key_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.role_arn (
Optional
[str
]) – The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_personalize as personalize cfn_dataset_group_props = personalize.CfnDatasetGroupProps( name="name", # the properties below are optional domain="domain", kms_key_arn="kmsKeyArn", role_arn="roleArn" )
Attributes
- domain
The domain of a Domain dataset group.
- kms_key_arn
The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.
- name
The name of the dataset group.
- role_arn
The ARN of the AWS Identity and Access Management (IAM) role that has permissions to access the AWS Key Management Service (KMS) key.
Supplying an IAM role is only valid when also specifying a KMS key.