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
  • 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

      protected Jsii$Proxy(CfnMetricFilter.DimensionProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnMetricFilter.DimensionProperty.Builder.
  • Method Details

    • getKey

      public final String 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 interface CfnMetricFilter.DimensionProperty
    • getValue

      public final String 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 interface CfnMetricFilter.DimensionProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object