Interface MetricFilterOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
MetricFilterProps
All Known Implementing Classes:
MetricFilterOptions.Jsii$Proxy, MetricFilterProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:45.945Z") @Stability(Stable) public interface MetricFilterOptions extends software.amazon.jsii.JsiiSerializable
Properties for a MetricFilter created from a LogGroup.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudwatch.*;
 import software.amazon.awscdk.services.logs.*;
 IFilterPattern filterPattern;
 MetricFilterOptions metricFilterOptions = MetricFilterOptions.builder()
         .filterPattern(filterPattern)
         .metricName("metricName")
         .metricNamespace("metricNamespace")
         // the properties below are optional
         .defaultValue(123)
         .dimensions(Map.of(
                 "dimensionsKey", "dimensions"))
         .filterName("filterName")
         .metricValue("metricValue")
         .unit(Unit.SECONDS)
         .build();