CfnMetricAttributionMixinProps

class aws_cdk.cfn_property_mixins.aws_personalize.CfnMetricAttributionMixinProps(*, dataset_group_arn=None, metrics=None, metrics_output_config=None, name=None)

Bases: object

Properties for CfnMetricAttributionPropsMixin.

Parameters:
  • dataset_group_arn (Optional[str]) – The ARN of the destination dataset group.

  • metrics (Union[IResolvable, Sequence[Union[IResolvable, MetricAttributeProperty, Dict[str, Any]]], None]) – A list of metric attributes for the metric attribution.

  • metrics_output_config (Union[IResolvable, MetricsOutputConfigProperty, Dict[str, Any], None]) – The output configuration details for the metric attribution.

  • name (Optional[str]) – The name of the metric attribution.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-metricattribution.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.cfn_property_mixins import aws_personalize as personalize

cfn_metric_attribution_mixin_props = personalize.CfnMetricAttributionMixinProps(
    dataset_group_arn="datasetGroupArn",
    metrics=[personalize.CfnMetricAttributionPropsMixin.MetricAttributeProperty(
        event_type="eventType",
        expression="expression",
        metric_name="metricName"
    )],
    metrics_output_config=personalize.CfnMetricAttributionPropsMixin.MetricsOutputConfigProperty(
        role_arn="roleArn",
        s3_data_destination=personalize.CfnMetricAttributionPropsMixin.S3DataDestinationProperty(
            kms_key_arn="kmsKeyArn",
            path="path"
        )
    ),
    name="name"
)

Attributes

dataset_group_arn

The ARN of the destination dataset group.

See:

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

metrics

A list of metric attributes for the metric attribution.

See:

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

metrics_output_config

The output configuration details for the metric attribution.

See:

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

name

The name of the metric attribution.

See:

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