@Stability(value=Stable) @Internal public static final class CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAppMonitor.MetricDefinitionProperty
CfnAppMonitor.MetricDefinitionPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnAppMonitor.MetricDefinitionProperty.Builder, CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnAppMonitor.MetricDefinitionProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnAppMonitor.AppMonitorConfigurationProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getDimensionKeys()
This field is a map of field paths to dimension names.
|
String |
getEventPattern()
The pattern that defines the metric.
|
String |
getName()
The name of the metric that is defined in this structure.
|
String |
getUnitLabel()
Use this field only if you are sending this metric to CloudWatch .
|
String |
getValueKey()
The field within the event object that the metric value is sourced from.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnAppMonitor.MetricDefinitionProperty.Builder builder)
CfnAppMonitor.AppMonitorConfigurationProperty.Builder.public final String getName()
CfnAppMonitor.MetricDefinitionPropertygetName in interface CfnAppMonitor.MetricDefinitionPropertypublic final Object getDimensionKeys()
CfnAppMonitor.MetricDefinitionProperty
It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch . If the metric destination is Evidently , the value of DimensionKeys is ignored.
getDimensionKeys in interface CfnAppMonitor.MetricDefinitionPropertypublic final String getEventPattern()
CfnAppMonitor.MetricDefinitionPropertyRUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.
If the metrics destination is CloudWatch and the event also matches a value in DimensionKeys , then the metric is published with the specified dimensions.
getEventPattern in interface CfnAppMonitor.MetricDefinitionPropertypublic final String getUnitLabel()
CfnAppMonitor.MetricDefinitionPropertyIt defines the CloudWatch metric unit that this metric is measured in.
getUnitLabel in interface CfnAppMonitor.MetricDefinitionPropertypublic final String getValueKey()
CfnAppMonitor.MetricDefinitionPropertygetValueKey in interface CfnAppMonitor.MetricDefinitionProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.