Put Rum Metrics Destination
cloudwatchrum_put_rum_metrics_destination | R Documentation |
Creates or updates a destination to receive extended metrics from CloudWatch RUM¶
Description¶
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
batch_create_rum_metric_definitions
.
Usage¶
cloudwatchrum_put_rum_metrics_destination(AppMonitorName, Destination,
DestinationArn, IamRoleArn)
Arguments¶
AppMonitorName |
[required] The name of the CloudWatch RUM app monitor that will send the metrics. |
Destination |
[required] Defines the destination to send the metrics to. Valid
values are |
DestinationArn |
Use this parameter only if |
IamRoleArn |
This parameter is required if 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. If you specify this parameter, you must be signed on to a role that
has PassRole
permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess
policy doesn't include |
Value¶
An empty list.
Request syntax¶
svc$put_rum_metrics_destination(
AppMonitorName = "string",
Destination = "CloudWatch"|"Evidently",
DestinationArn = "string",
IamRoleArn = "string"
)