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 IAM role that has permissions to create the dataset group.

Link

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.

Link

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

Return type

Optional[str]

kms_key_arn

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

Link

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

Return type

Optional[str]

name

The name of the dataset group.

Link

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

Return type

str

role_arn

The ARN of the IAM role that has permissions to create the dataset group.

Link

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

Return type

Optional[str]