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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.logs.CfnMetricFilter.DimensionProperty
CfnMetricFilter.DimensionProperty.Builder, CfnMetricFilter.DimensionProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnMetricFilter.DimensionProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringgetKey()The name for the CloudWatch metric dimension that the metric filter creates.final StringgetValue()The log event field that will contain the value for this dimension.final inthashCode()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.DimensionPropertyThe 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:
getKeyin interfaceCfnMetricFilter.DimensionProperty- See Also:
-
getValue
Description copied from interface:CfnMetricFilter.DimensionPropertyThe 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,
$.eventTypefor JSON log events, or$serverfor space-delimited log events.- Specified by:
getValuein interfaceCfnMetricFilter.DimensionProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-