Interface AlarmEvents.CloudWatchAlarmStateChange.MetricStat

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AlarmEvents.CloudWatchAlarmStateChange.MetricStat.Jsii$Proxy
Enclosing class:
AlarmEvents.CloudWatchAlarmStateChange

@Stability(Experimental) public static interface AlarmEvents.CloudWatchAlarmStateChange.MetricStat extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for MetricStat.

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.cloudwatch.events.*;
 MetricStat metricStat = MetricStat.builder()
         .metric(Metric.builder()
                 .dimensions(List.of("dimensions"))
                 .name(List.of("name"))
                 .namespace(List.of("namespace"))
                 .build())
         .period(List.of("period"))
         .stat(List.of("stat"))
         .build();
 
  • Method Details

    • getMetric

      @Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.Metric 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

    • getPeriod

      @Stability(Experimental) @Nullable default List<String> getPeriod()
      (experimental) period property.

      Specify an array of string values to match this event if the actual value of period 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

    • getStat

      @Stability(Experimental) @Nullable default List<String> getStat()
      (experimental) stat property.

      Specify an array of string values to match this event if the actual value of stat 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 AlarmEvents.CloudWatchAlarmStateChange.MetricStat.Builder builder()
      Returns:
      a AlarmEvents.CloudWatchAlarmStateChange.MetricStat.Builder of AlarmEvents.CloudWatchAlarmStateChange.MetricStat