View a markdown version of this page

AWS::Personalize::MetricAttribution - 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

Creates a metric attribution. A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you imported the data, you can view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring impact of recommendations.

Syntax

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

JSON

{ "Type" : "AWS::Personalize::MetricAttribution", "Properties" : { "DatasetGroupArn" : String, "Metrics" : [ MetricAttribute, ... ], "MetricsOutputConfig" : MetricsOutputConfig, "Name" : String } }

YAML

Type: AWS::Personalize::MetricAttribution Properties: DatasetGroupArn: String Metrics: - MetricAttribute MetricsOutputConfig: MetricsOutputConfig Name: String

Properties

DatasetGroupArn

The metric attribution's dataset group Amazon Resource Name (ARN).

Required: Yes

Type: String

Pattern: ^arn:([a-z\d-]+):personalize:.*:.*:.+$

Maximum: 256

Update requires: Replacement

Metrics

Property description not available.

Required: Yes

Type: Array of MetricAttribute

Maximum: 10

Update requires: Replacement

MetricsOutputConfig

The metric attribution's output configuration.

Required: Yes

Type: MetricsOutputConfig

Update requires: No interruption

Name

The metric attribution's name.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9\-_]*$

Minimum: 1

Maximum: 63

Update requires: Replacement

Return values

Ref

Fn::GetAtt

MetricAttributionArn

The metric attribution's Amazon Resource Name (ARN).

Status

The metric attribution's status.