Interface DevOpsGuruNewAnomalyAssociation.MetricQuery
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DevOpsGuruNewAnomalyAssociation.MetricQuery.Jsii$Proxy
- Enclosing class:
DevOpsGuruNewAnomalyAssociation
@Stability(Experimental)
public static interface DevOpsGuruNewAnomalyAssociation.MetricQuery
extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for MetricQuery.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.devopsguru.events.*;
MetricQuery metricQuery = MetricQuery.builder()
.groupBy(GroupBy.builder()
.dimensions(List.of("dimensions"))
.group(List.of("group"))
.build())
.metric(List.of("metric"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDevOpsGuruNewAnomalyAssociation.MetricQuerystatic final classAn implementation forDevOpsGuruNewAnomalyAssociation.MetricQuery -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) groupBy property.(experimental) metric property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroupBy
(experimental) groupBy property.Specify an array of string values to match this event if the actual value of groupBy is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getMetric
(experimental) metric property.Specify an array of string values to match this event if the actual value of metric is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-