Class EC2InstanceStateChangeNotification

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.ec2.events.EC2InstanceStateChangeNotification
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-10T14:49:59.987Z") @Stability(Experimental) public class EC2InstanceStateChangeNotification extends software.amazon.jsii.JsiiObject
(experimental) EventBridge event pattern for aws.ec2@EC2InstanceStateChangeNotification.

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.ec2.events.*;
 EC2InstanceStateChangeNotification eC2InstanceStateChangeNotification = new EC2InstanceStateChangeNotification();
 
  • Constructor Details

    • EC2InstanceStateChangeNotification

      protected EC2InstanceStateChangeNotification(software.amazon.jsii.JsiiObjectRef objRef)
    • EC2InstanceStateChangeNotification

      protected EC2InstanceStateChangeNotification(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • EC2InstanceStateChangeNotification

      @Stability(Experimental) public EC2InstanceStateChangeNotification()
  • Method Details

    • ec2InstanceStateChangeNotificationPattern

      @Stability(Experimental) @NotNull public static EventPattern ec2InstanceStateChangeNotificationPattern(@Nullable EC2InstanceStateChangeNotification.EC2InstanceStateChangeNotificationProps options)
      (experimental) EventBridge event pattern for EC2 Instance State-change Notification.

      Parameters:
      options -
    • ec2InstanceStateChangeNotificationPattern

      @Stability(Experimental) @NotNull public static EventPattern ec2InstanceStateChangeNotificationPattern()
      (experimental) EventBridge event pattern for EC2 Instance State-change Notification.