Interface IEventBridgePutEventsProps
Properties for sending events with PutEvents.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEventBridgePutEventsProps : ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
Syntax (vb)
Public Interface IEventBridgePutEventsProps
Inherits ITaskStateBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonPathCommonOptions, IJsonataCommonOptions
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. |
Properties
Entries
The entries that will be sent.
IEventBridgePutEventsEntry[] Entries { get; }
Property Value
Remarks
Minimum number of entries is 1 and maximum is 10, unless PutEvents API limit has changed.