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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datasetgroup.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datasetgroup.html#cfn-personalize-datasetgroup-domain

kms_key_arn

The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the datasets.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datasetgroup.html#cfn-personalize-datasetgroup-kmskeyarn

name

The name of the dataset group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datasetgroup.html#cfn-personalize-datasetgroup-name

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-datasetgroup.html#cfn-personalize-datasetgroup-rolearn