Interface CfnMetricStream.MetricStreamFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMetricStream.MetricStreamFilterProperty.Jsii$Proxy
- Enclosing class:
CfnMetricStream
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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMetricStream.MetricStreamFilterProperty
static final class
An implementation forCfnMetricStream.MetricStreamFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The names of the metrics to either include or exclude from the metric stream.The name of the metric namespace in the filter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespace
The name of the metric namespace in the filter.The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must contain at least one non-whitespace character.
- See Also:
-
getMetricNames
The names of the metrics to either include or exclude from the metric stream.If you omit this parameter, all metrics in the namespace are included or excluded, depending on whether this filter is specified as an exclude filter or an include filter.
Each metric name can contain only ASCII printable characters (ASCII range 32 through 126). Each metric name must contain at least one non-whitespace character.
- See Also:
-
builder
-