Interface CfnMetricStream.MetricStreamFilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMetricStream.MetricStreamFilterProperty.Jsii$Proxy
Enclosing class:
CfnMetricStream

@Stability(Stable) public static interface CfnMetricStream.MetricStreamFilterProperty extends software.amazon.jsii.JsiiSerializable
This structure contains a metric namespace and optionally, a list of metric names, to either include in a metric ' stream or exclude from a metric stream.

A metric stream's filters can include up to 1000 total names. This limit applies to the sum of namespace names and metric names in the filters. For example, this could include 10 metric namespace filters with 99 metrics each, or 20 namespace filters with 49 metrics specified in each filter.

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.*;
 MetricStreamFilterProperty metricStreamFilterProperty = MetricStreamFilterProperty.builder()
         .namespace("namespace")
         // the properties below are optional
         .metricNames(List.of("metricNames"))
         .build();
 

See Also: