Class CfnMetricFilter.DimensionProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.CfnMetricFilter.DimensionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnMetricFilter.DimensionProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnMetricFilter.DimensionProperty
@Stability(Stable)
@Internal
public static final class CfnMetricFilter.DimensionProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnMetricFilter.DimensionProperty
An implementation for
CfnMetricFilter.DimensionProperty
-
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.logs.CfnMetricFilter.DimensionProperty
CfnMetricFilter.DimensionProperty.Builder, CfnMetricFilter.DimensionProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnMetricFilter.DimensionProperty.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 String
getKey()
The name for the CloudWatch metric dimension that the metric filter creates.final String
getValue()
The log event field that will contain the value for this dimension.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 theCfnMetricFilter.DimensionProperty.Builder
.
-
-
Method Details
-
getKey
Description copied from interface:CfnMetricFilter.DimensionProperty
The name for the CloudWatch metric dimension that the metric filter creates.Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Specified by:
getKey
in interfaceCfnMetricFilter.DimensionProperty
-
getValue
Description copied from interface:CfnMetricFilter.DimensionProperty
The log event field that will contain the value for this dimension.This dimension will only be published for a metric if the value is found in the log event. For example,
$.eventType
for JSON log events, or$server
for space-delimited log events.- Specified by:
getValue
in interfaceCfnMetricFilter.DimensionProperty
-
$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()
-