Class EventBridgePutEvents

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IChainable, INextable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.087Z") @Stability(Stable) public class EventBridgePutEvents extends TaskStateBase
A StepFunctions Task to send events to an EventBridge event bus.

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();
 
  • Constructor Details

    • EventBridgePutEvents

      protected EventBridgePutEvents(software.amazon.jsii.JsiiObjectRef objRef)
    • EventBridgePutEvents

      protected EventBridgePutEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • EventBridgePutEvents

      @Stability(Stable) public EventBridgePutEvents(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull EventBridgePutEventsProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details