Class EventBridgePutEvents
A StepFunctions Task to send events to an EventBridge event bus.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EventBridgePutEvents : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class EventBridgePutEvents Inherits TaskStateBase Implements IChainable, INextable
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
Constructors
| EventBridgePutEvents(Construct, string, IEventBridgePutEventsProps) | A StepFunctions Task to send events to an EventBridge event bus. |
Properties
| TaskMetrics | A StepFunctions Task to send events to an EventBridge event bus. |
| TaskPolicies | A StepFunctions Task to send events to an EventBridge event bus. |
Methods
| JsonPath(Construct, string, IEventBridgePutEventsJsonPathProps) | A StepFunctions Task using JSONPath to send events to an EventBridge event bus. |
| Jsonata(Construct, string, IEventBridgePutEventsJsonataProps) | A StepFunctions Task using JSONata to send events to an EventBridge event bus. |
Constructors
EventBridgePutEvents(Construct, string, IEventBridgePutEventsProps)
A StepFunctions Task to send events to an EventBridge event bus.
public EventBridgePutEvents(Construct scope, string id, IEventBridgePutEventsProps props)
Parameters
- scope Construct
- id string
Descriptive identifier for this chainable.
- props IEventBridgePutEventsProps
Remarks
ExampleMetadata: infused
Properties
TaskMetrics
A StepFunctions Task to send events to an EventBridge event bus.
protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value
Overrides
Remarks
ExampleMetadata: infused
TaskPolicies
A StepFunctions Task to send events to an EventBridge event bus.
protected override PolicyStatement[]? TaskPolicies { get; }
Property Value
Overrides
Remarks
ExampleMetadata: infused
Methods
JsonPath(Construct, string, IEventBridgePutEventsJsonPathProps)
A StepFunctions Task using JSONPath to send events to an EventBridge event bus.
public static EventBridgePutEvents JsonPath(Construct scope, string id, IEventBridgePutEventsJsonPathProps props)
Parameters
- scope Construct
- id string
- props IEventBridgePutEventsJsonPathProps
Returns
Remarks
ExampleMetadata: infused
Jsonata(Construct, string, IEventBridgePutEventsJsonataProps)
A StepFunctions Task using JSONata to send events to an EventBridge event bus.
public static EventBridgePutEvents Jsonata(Construct scope, string id, IEventBridgePutEventsJsonataProps props)
Parameters
- scope Construct
- id string
- props IEventBridgePutEventsJsonataProps
Returns
Remarks
ExampleMetadata: infused