Class CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rum.CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAppMonitor.MetricDefinitionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAppMonitor.MetricDefinitionProperty
@Stability(Stable)
@Internal
public static final class CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnAppMonitor.MetricDefinitionProperty
An implementation for
CfnAppMonitor.MetricDefinitionProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.rum.CfnAppMonitor.MetricDefinitionProperty
CfnAppMonitor.MetricDefinitionProperty.Builder, CfnAppMonitor.MetricDefinitionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnAppMonitor.MetricDefinitionProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
This field is a map of field paths to dimension names.final String
The pattern that defines the metric.final String
getName()
The name of the metric that is defined in this structure.final String
If you are creating a custom metric instead of an extended metrics, use this parameter to define the metric namespace for that custom metric.final String
Use this field only if you are sending this metric to CloudWatch .final String
The field within the event object that the metric value is sourced from.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAppMonitor.MetricDefinitionProperty.Builder
.
-
-
Method Details
-
getName
Description copied from interface:CfnAppMonitor.MetricDefinitionProperty
The name of the metric that is defined in this structure.- Specified by:
getName
in interfaceCfnAppMonitor.MetricDefinitionProperty
-
getDimensionKeys
Description copied from interface:CfnAppMonitor.MetricDefinitionProperty
This field is a map of field paths to dimension names.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 isEvidently
, the value ofDimensionKeys
is ignored.- Specified by:
getDimensionKeys
in interfaceCfnAppMonitor.MetricDefinitionProperty
-
getEventPattern
Description copied from interface:CfnAppMonitor.MetricDefinitionProperty
The pattern that defines the metric.RUM 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 inDimensionKeys
, then the metric is published with the specified dimensions.- Specified by:
getEventPattern
in interfaceCfnAppMonitor.MetricDefinitionProperty
-
getNamespace
Description copied from interface:CfnAppMonitor.MetricDefinitionProperty
If you are creating a custom metric instead of an extended metrics, use this parameter to define the metric namespace for that custom metric.Do not specify this parameter if you are creating an extended metric.
You can't use any string that starts with
AWS/
for your namespace.- Specified by:
getNamespace
in interfaceCfnAppMonitor.MetricDefinitionProperty
-
getUnitLabel
Description copied from interface:CfnAppMonitor.MetricDefinitionProperty
Use this field only if you are sending this metric to CloudWatch .It defines the CloudWatch metric unit that this metric is measured in.
- Specified by:
getUnitLabel
in interfaceCfnAppMonitor.MetricDefinitionProperty
-
getValueKey
Description copied from interface:CfnAppMonitor.MetricDefinitionProperty
The field within the event object that the metric value is sourced from.- Specified by:
getValueKey
in interfaceCfnAppMonitor.MetricDefinitionProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-