Interface Event
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Event.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:18.415Z")
@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.alpha.*;
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic Event.Builderbuilder()(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.BuilderofEvent
-