Interface Event
- 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Event.Builder
builder()
(experimental) The actions to be performed.default Expression
(experimental) The Boolean expression that, whentrue
, 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
(experimental) The name of the event. -
getActions
(experimental) The actions to be performed.Default: - no actions will be performed
-
getCondition
(experimental) The Boolean expression that, whentrue
, causes the actions to be performed.Default: - none (the actions are always executed)
-
builder
- Returns:
- a
Event.Builder
ofEvent
-