Interface EventBridgePutEventsEntry

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EventBridgePutEventsEntry.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.986Z") @Stability(Experimental) public interface EventBridgePutEventsEntry extends software.amazon.jsii.JsiiSerializable
(experimental) An entry to be sent to EventBridge.

Example:

 import software.amazon.awscdk.services.events.*;
 EventBus eventBus = EventBus.Builder.create(this, "EventBus")
         .eventBusName("DomainEvents")
         .build();
 EventBridgePutEventsEntry eventEntry = EventBridgePutEventsEntry.builder()
         .eventBus(eventBus)
         .source("PetService")
         .detail(ScheduleTargetInput.fromObject(Map.of("Name", "Fluffy")))
         .detailType("🐶")
         .build();
 Schedule.Builder.create(this, "Schedule")
         .schedule(ScheduleExpression.rate(Duration.hours(1)))
         .target(new EventBridgePutEvents(eventEntry))
         .build();
 

See Also: