AWS::RUM::AppMonitor MetricDestination - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::RUM::AppMonitor MetricDestination

Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.

For more information about extended metrics, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently.

Syntax

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

JSON

{ "Destination" : String, "DestinationArn" : String, "IamRoleArn" : String, "MetricDefinitions" : [ MetricDefinition, ... ] }

Properties

Destination

Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.

Required: Yes

Type: String

Allowed values: CloudWatch | Evidently

Update requires: No interruption

DestinationArn

Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.

Required: No

Type: String

Pattern: arn:[^:]*:[^:]*:[^:]*:[^:]*:.*

Update requires: No interruption

IamRoleArn

This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.

This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.

Required: No

Type: String

Pattern: arn:[^:]*:[^:]*:[^:]*:[^:]*:.*

Update requires: No interruption

MetricDefinitions

An array of structures which define the metrics that you want to send.

Required: No

Type: Array of MetricDefinition

Minimum: 0

Maximum: 2000

Update requires: No interruption