Interface CfnAppMonitor.MetricDestinationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAppMonitor.MetricDestinationProperty.Jsii$Proxy
Enclosing class:
CfnAppMonitor

@Stability(Stable) public static interface CfnAppMonitor.MetricDestinationProperty extends software.amazon.jsii.JsiiSerializable
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 Extended metrics that you can send to CloudWatch and CloudWatch Evidently .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.rum.*;
 MetricDestinationProperty metricDestinationProperty = MetricDestinationProperty.builder()
         .destination("destination")
         // the properties below are optional
         .destinationArn("destinationArn")
         .iamRoleArn("iamRoleArn")
         .metricDefinitions(List.of(MetricDefinitionProperty.builder()
                 .name("name")
                 // the properties below are optional
                 .dimensionKeys(Map.of(
                         "dimensionKeysKey", "dimensionKeys"))
                 .eventPattern("eventPattern")
                 .namespace("namespace")
                 .unitLabel("unitLabel")
                 .valueKey("valueKey")
                 .build()))
         .build();
 

See Also: