PutRumMetricsDestinationRequest
import type { PutRumMetricsDestinationRequest } from "https://aws-api.deno.dev/v0.4/services/rum.ts?docs=full";
interface PutRumMetricsDestinationRequest {
AppMonitorName: string;
Destination: MetricDestination;
DestinationArn?: string | null;
IamRoleArn?: string | null;
}§Properties
§
Destination: MetricDestination
[src]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.
§
DestinationArn?: string | null
[src]Use this parameter only if Destination
is Evidently
.
This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
§
IamRoleArn?: string | null
[src]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.