Interface AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps

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

@Stability(Experimental) public static interface AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Alarm aws.cloudwatch@CloudWatchAlarmStateChange event.

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.*;
 CloudWatchAlarmStateChangeProps cloudWatchAlarmStateChangeProps = CloudWatchAlarmStateChangeProps.builder()
         .alarmName(List.of("alarmName"))
         .configuration(Configuration.builder()
                 .actionsSuppressor(List.of("actionsSuppressor"))
                 .actionsSuppressorExtensionPeriod(List.of("actionsSuppressorExtensionPeriod"))
                 .actionsSuppressorWaitPeriod(List.of("actionsSuppressorWaitPeriod"))
                 .alarmRule(List.of("alarmRule"))
                 .description(List.of("description"))
                 .metrics(List.of(ConfigurationItem.builder()
                         .id(List.of("id"))
                         .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())
                         .returnData(List.of("returnData"))
                         .build()))
                 .build())
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .previousState(State.builder()
                 .actionsSuppressedBy(List.of("actionsSuppressedBy"))
                 .actionsSuppressedReason(List.of("actionsSuppressedReason"))
                 .evaluationState(List.of("evaluationState"))
                 .reason(List.of("reason"))
                 .reasonData(List.of("reasonData"))
                 .timestamp(List.of("timestamp"))
                 .value(List.of("value"))
                 .build())
         .state(State.builder()
                 .actionsSuppressedBy(List.of("actionsSuppressedBy"))
                 .actionsSuppressedReason(List.of("actionsSuppressedReason"))
                 .evaluationState(List.of("evaluationState"))
                 .reason(List.of("reason"))
                 .reasonData(List.of("reasonData"))
                 .timestamp(List.of("timestamp"))
                 .value(List.of("value"))
                 .build())
         .build();
 
  • Method Details

    • getAlarmName

      @Stability(Experimental) @Nullable default List<String> getAlarmName()
      (experimental) alarmName property.

      Specify an array of string values to match this event if the actual value of alarmName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Filter with the Alarm reference

    • getConfiguration

      @Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.Configuration getConfiguration()
      (experimental) configuration property.

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

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getPreviousState

      @Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.State getPreviousState()
      (experimental) previousState property.

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

    • getState

      @Stability(Experimental) @Nullable default AlarmEvents.CloudWatchAlarmStateChange.State getState()
      (experimental) state property.

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

      Returns:
      a AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps.Builder of AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps