Interface DevOpsGuruNewInsightOpen.MetricQuery

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

@Stability(Experimental) public static interface DevOpsGuruNewInsightOpen.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();
 
  • Method Details

    • getGroupBy

      @Stability(Experimental) @Nullable default DevOpsGuruNewInsightOpen.GroupBy 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getMetric

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static DevOpsGuruNewInsightOpen.MetricQuery.Builder builder()
      Returns:
      a DevOpsGuruNewInsightOpen.MetricQuery.Builder of DevOpsGuruNewInsightOpen.MetricQuery