AppMonitorMetricDestinationArgs

data class AppMonitorMetricDestinationArgs(val destination: Output<AppMonitorMetricDestinationDestination>, val destinationArn: Output<String>? = null, val iamRoleArn: Output<String>? = null, val metricDefinitions: Output<List<AppMonitorMetricDefinitionArgs>>? = null) : ConvertibleToJava<AppMonitorMetricDestinationArgs>

An structure which defines the destination and the metrics that you want to send.

Constructors

Link copied to clipboard
constructor(destination: Output<AppMonitorMetricDestinationDestination>, destinationArn: Output<String>? = null, iamRoleArn: Output<String>? = null, metricDefinitions: Output<List<AppMonitorMetricDefinitionArgs>>? = null)

Properties

Link copied to clipboard

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 Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.

Link copied to clipboard
val destinationArn: Output<String>? = null

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

Link copied to clipboard
val iamRoleArn: Output<String>? = null

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.

Link copied to clipboard

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

Functions

Link copied to clipboard
open override fun toJava(): AppMonitorMetricDestinationArgs