Interface AlarmEvents.CloudWatchAlarmConfigurationChange.Metric

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

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

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

    • getDimensions

      @Stability(Experimental) @Nullable default List<String> getDimensions()
      (experimental) dimensions property.

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

    • getName

      @Stability(Experimental) @Nullable default List<String> getName()
      (experimental) name property.

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

    • getNamespace

      @Stability(Experimental) @Nullable default List<String> getNamespace()
      (experimental) namespace property.

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