Interface CfnAppMonitor.AppMonitorConfigurationProperty

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

@Stability(Stable) public static interface CfnAppMonitor.AppMonitorConfigurationProperty extends software.amazon.jsii.JsiiSerializable
This structure contains much of the configuration data for the app monitor.

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.*;
 AppMonitorConfigurationProperty appMonitorConfigurationProperty = AppMonitorConfigurationProperty.builder()
         .allowCookies(false)
         .enableXRay(false)
         .excludedPages(List.of("excludedPages"))
         .favoritePages(List.of("favoritePages"))
         .guestRoleArn("guestRoleArn")
         .identityPoolId("identityPoolId")
         .includedPages(List.of("includedPages"))
         .metricDestinations(List.of(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()))
         .sessionSampleRate(123)
         .telemetries(List.of("telemetries"))
         .build();
 

See Also: