AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Personalize::DatasetGroup

CfnDatasetGroup

A dataset group is a collection of related datasets (Item interactions, Users, Items, Actions, Action interactions). You create a dataset group by calling [CreateDatasetGroup](https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetGroup.html) . You then create a dataset and add it to a dataset group by calling [CreateDataset](https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDataset.html) . The dataset group is used to create and train a solution by calling [CreateSolution](https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html) . A dataset group can contain only one of each type of dataset. You can specify an AWS Key Management Service (KMS) key to encrypt the datasets in the group.

Import

import { CfnDatasetGroup } from 'aws-cdk-lib/aws-personalize';

Or use the module namespace:

import * as personalize from 'aws-cdk-lib/aws-personalize';
// personalize.CfnDatasetGroup

Properties

Configuration passed to the constructor as CfnDatasetGroupProps.

nameRequired
string

The name of the dataset group.

domainOptional
string

The domain of a Domain dataset group.

kmsKeyArnOptional
string

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

roleArnOptional
string

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-personalize
CFN TypeAWS::Personalize::DatasetGroup
Properties4

Related Constructs

External Links