Interface EventBridgePutEventsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
EventBridgePutEventsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:28.012Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEventBridgePutEventsProps
static final class
An implementation forEventBridgePutEventsProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
Method Details
-
getEntries
The entries that will be sent.Minimum number of entries is 1 and maximum is 10, unless PutEvents API limit has changed.
-
builder
- Returns:
- a
EventBridgePutEventsProps.Builder
ofEventBridgePutEventsProps
-