CfnFilterProps

class aws_cdk.aws_personalize.CfnFilterProps(*, dataset_group_arn, filter_expression, name, tags=None)

Bases: object

Properties for defining a CfnFilter.

Parameters:
  • dataset_group_arn (str) – The ARN of the dataset group that the filter belongs to.

  • filter_expression (str) – The filter expression that defines which items are included or excluded from recommendations.

  • name (str) – The name of the filter.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to associate with the filter.

See:

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

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# 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_filter_props = personalize.CfnFilterProps(
    dataset_group_arn="datasetGroupArn",
    filter_expression="filterExpression",
    name="name",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

dataset_group_arn

The ARN of the dataset group that the filter belongs to.

See:

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

filter_expression

The filter expression that defines which items are included or excluded from recommendations.

See:

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

name

The name of the filter.

See:

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

tags

Tags to associate with the filter.

See:

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