MetricsDestinationState constructor

const MetricsDestinationState({
  1. Input<String?>? appMonitorName,
  2. Input<String?>? destination,
  3. Input<String?>? destinationArn,
  4. Input<String?>? iamRoleArn,
  5. Input<String?>? region,
})

Creates a new MetricsDestinationState. appMonitorName The name of the CloudWatch RUM app monitor that will send the metrics. destination 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 Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics. iamRoleArn This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter. region Region where this resource will be managed. Defaults to the Region set in the provider configuration.

Implementation

const MetricsDestinationState({
  this.appMonitorName,
  this.destination,
  this.destinationArn,
  this.iamRoleArn,
  this.region,
});