@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:08.847Z") @Stability(value=Experimental) public interface Event extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Event.Builder
A builder for
Event |
static class |
Event.Jsii$Proxy
An implementation for
Event |
| Modifier and Type | Method and Description |
|---|---|
static Event.Builder |
builder() |
default List<IAction> |
getActions()
(experimental) The actions to be performed.
|
default Expression |
getCondition()
(experimental) The Boolean expression that, when `true`, causes the actions to be performed.
|
String |
getEventName()
(experimental) The name of the event.
|
@Stability(value=Experimental) @NotNull String getEventName()
@Stability(value=Experimental) @Nullable default List<IAction> getActions()
Default: - no actions will be performed
@Stability(value=Experimental) @Nullable default Expression getCondition()
Default: - none (the actions are always executed)
@Stability(value=Experimental) static Event.Builder builder()
Event.Builder of EventCopyright © 2022. All rights reserved.