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 AWS CloudFormation template, use the following syntax:
JSON
{ "Destination" :
String
, "DestinationArn" :String
, "IamRoleArn" :String
, "MetricDefinitions" :[ MetricDefinition, ... ]
}
YAML
Destination:
String
DestinationArn:String
IamRoleArn:String
MetricDefinitions:- MetricDefinition
Properties
Destination
-
Defines the destination to send the metrics to. Valid values are
CloudWatch
andEvidently
. If you specifyEvidently
, 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
isEvidently
. 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
isEvidently
. IfDestination
isCloudWatch
, 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