Interface IEventBridgePutEventsProps
Properties for sending events with PutEvents.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public interface IEventBridgePutEventsProps : ITaskStateBaseProps
Syntax (vb)
Public Interface IEventBridgePutEventsProps
Inherits ITaskStateBaseProps
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Events;
var myEventBus = new EventBus(this, "EventBus", new EventBusProps {
EventBusName = "MyEventBus1"
});
new EventBridgePutEvents(this, "Send an event to EventBridge", new EventBridgePutEventsProps {
Entries = new [] { new EventBridgePutEventsEntry {
Detail = TaskInput.FromObject(new Dictionary<string, object> {
{ "Message", "Hello from Step Functions!" }
}),
EventBus = myEventBus,
DetailType = "MessageFromStepFunctions",
Source = "step.functions"
} }
});
Synopsis
Properties
Entries | The entries that will be sent (must be at least 1). |
Properties
Entries
The entries that will be sent (must be at least 1).
IEventBridgePutEventsEntry[] Entries { get; }
Property Value