View a markdown version of this page

AWS::Personalize::MetricAttribution MetricAttribute - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Personalize::MetricAttribution MetricAttribute

Contains information on a metric that a metric attribution reports on. For more information, see Measuring impact of recommendations.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "EventType" : String, "Expression" : String, "MetricName" : String }

YAML

EventType: String Expression: String MetricName: String

Properties

EventType

The metric's event type.

Required: Yes

Type: String

Maximum: 256

Update requires: Replacement

Expression

The attribute's expression. Available functions are SUM() or SAMPLECOUNT(). For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

Required: Yes

Type: String

Maximum: 256

Update requires: Replacement

MetricName

The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.

Required: Yes

Type: String

Maximum: 256

Update requires: Replacement