Interface EventBridgePutEventsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,TaskStateBaseProps
- All Known Implementing Classes:
EventBridgePutEventsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.091Z")
@Stability(Stable)
public interface EventBridgePutEventsProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for sending events with PutEvents.
Example:
import software.amazon.awscdk.services.events.*;
EventBus myEventBus = EventBus.Builder.create(this, "EventBus")
.eventBusName("MyEventBus1")
.build();
EventBridgePutEvents.Builder.create(this, "Send an event to EventBridge")
.entries(List.of(EventBridgePutEventsEntry.builder()
.detail(TaskInput.fromObject(Map.of(
"Message", "Hello from Step Functions!")))
.eventBus(myEventBus)
.detailType("MessageFromStepFunctions")
.source("step.functions")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEventBridgePutEventsPropsstatic final classAn implementation forEventBridgePutEventsProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
-
Method Details
-
getEntries
The entries that will be sent (must be at least 1). -
builder
- Returns:
- a
EventBridgePutEventsProps.BuilderofEventBridgePutEventsProps
-