CfnDatasetGroupPropsMixin

class aws_cdk.mixins_preview.aws_personalize.mixins.CfnDatasetGroupPropsMixin(props, *, strategy=None)

Bases: Mixin

A dataset group is a collection of related datasets (Item interactions, Users, Items, Actions, Action interactions).

You create a dataset group by calling CreateDatasetGroup . You then create a dataset and add it to a dataset group by calling CreateDataset . The dataset group is used to create and train a solution by calling CreateSolution . 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.

See:

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

CloudformationResource:

AWS::Personalize::DatasetGroup

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_personalize import mixins as personalize_mixins

cfn_dataset_group_props_mixin = personalize_mixins.CfnDatasetGroupPropsMixin(personalize_mixins.CfnDatasetGroupMixinProps(
    domain="domain",
    kms_key_arn="kmsKeyArn",
    name="name",
    role_arn="roleArn"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Personalize::DatasetGroup.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['domain', 'kmsKeyArn', 'name', 'roleArn']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental