Class EventBridgePutEvents
A StepFunctions Task to send events to an EventBridge event bus.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class EventBridgePutEvents : TaskStateBase, IConstruct, IDependable, IChainable, INextable
Syntax (vb)
Public Class EventBridgePutEvents
Inherits TaskStateBase
Implements IConstruct, IDependable, 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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
EventBridgePutEvents(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
EventBridgePutEvents(Construct, String, IEventBridgePutEventsProps) |
Properties
TaskMetrics | |
TaskPolicies |
Constructors
EventBridgePutEvents(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected EventBridgePutEvents(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
EventBridgePutEvents(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected EventBridgePutEvents(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
EventBridgePutEvents(Construct, String, IEventBridgePutEventsProps)
public EventBridgePutEvents(Construct scope, string id, IEventBridgePutEventsProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IEventBridgePutEventsProps
Properties
TaskMetrics
protected override ITaskMetricsConfig TaskMetrics { get; }
Property Value
Overrides
TaskPolicies
protected override PolicyStatement[] TaskPolicies { get; }
Property Value
Overrides
Implements
Constructs.IConstruct