All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Event.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.227Z") @Stability(Experimental) public interface Event extends software.amazon.jsii.JsiiSerializable
(experimental) Specifies the actions to be performed when the condition evaluates to true.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iotevents.*;
 IAction action;
 Expression expression;
 Event event = Event.builder()
         .eventName("eventName")
         // the properties below are optional
         .actions(List.of(action))
         .condition(expression)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Event
    static final class 
    An implementation for Event
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default List<IAction>
    (experimental) The actions to be performed.
    default Expression
    (experimental) The Boolean expression that, when true, causes the actions to be performed.
    (experimental) The name of the event.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getEventName

      @Stability(Experimental) @NotNull String getEventName()
      (experimental) The name of the event.
    • getActions

      @Stability(Experimental) @Nullable default List<IAction> getActions()
      (experimental) The actions to be performed.

      Default: - no actions will be performed

    • getCondition

      @Stability(Experimental) @Nullable default Expression getCondition()
      (experimental) The Boolean expression that, when true, causes the actions to be performed.

      Default: - none (the actions are always executed)

    • builder

      @Stability(Experimental) static Event.Builder builder()
      Returns:
      a Event.Builder of Event