Class AlarmEvents
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.cloudwatch.events.AlarmEvents
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:23.930Z")
@Stability(Experimental)
public class AlarmEvents
extends software.amazon.jsii.JsiiObject
(experimental) EventBridge event patterns for Alarm.
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.*; import software.amazon.awscdk.interfaces.cloudwatch.*; IAlarmRef alarmRef; AlarmEvents alarmEvents = AlarmEvents.fromAlarm(alarmRef);
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class(experimental) aws.cloudwatch@CloudWatchAlarmConfigurationChange event types for Alarm.static class(experimental) aws.cloudwatch@CloudWatchAlarmStateChange event types for Alarm.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAlarmEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedAlarmEvents(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) EventBridge event pattern for Alarm CloudWatch Alarm Configuration Change.cloudWatchAlarmConfigurationChangePattern(AlarmEvents.CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps options) (experimental) EventBridge event pattern for Alarm CloudWatch Alarm Configuration Change.(experimental) EventBridge event pattern for Alarm CloudWatch Alarm State Change.cloudWatchAlarmStateChangePattern(AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps options) (experimental) EventBridge event pattern for Alarm CloudWatch Alarm State Change.static AlarmEvents(experimental) Create AlarmEvents from a Alarm reference.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
AlarmEvents
protected AlarmEvents(software.amazon.jsii.JsiiObjectRef objRef) -
AlarmEvents
protected AlarmEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromAlarm
(experimental) Create AlarmEvents from a Alarm reference.- Parameters:
alarmRef- This parameter is required.
-
cloudWatchAlarmConfigurationChangePattern
@Stability(Experimental) @NotNull public EventPattern cloudWatchAlarmConfigurationChangePattern(@Nullable AlarmEvents.CloudWatchAlarmConfigurationChange.CloudWatchAlarmConfigurationChangeProps options) (experimental) EventBridge event pattern for Alarm CloudWatch Alarm Configuration Change.- Parameters:
options-
-
cloudWatchAlarmConfigurationChangePattern
(experimental) EventBridge event pattern for Alarm CloudWatch Alarm Configuration Change. -
cloudWatchAlarmStateChangePattern
@Stability(Experimental) @NotNull public EventPattern cloudWatchAlarmStateChangePattern(@Nullable AlarmEvents.CloudWatchAlarmStateChange.CloudWatchAlarmStateChangeProps options) (experimental) EventBridge event pattern for Alarm CloudWatch Alarm State Change.- Parameters:
options-
-
cloudWatchAlarmStateChangePattern
(experimental) EventBridge event pattern for Alarm CloudWatch Alarm State Change.
-