aws rum batch-create-rum-metric-definitions
Specifies the extended metrics and custom metrics that you want a CloudWatch RUM app monitor to send to a destination. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--app-monitor-nameThe name of the CloudWatch RUM app monitor that is to send the metrics.--destination-arnThis parameter is required if Destination is Evidently.--destinationThe destination to send the metrics to.--metric-definitionsAn array of structures which define the metrics that you want to send.