Interface IEventBridgePutEventsJsonataProps
Properties for sending events with PutEvents using JSONata.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEventBridgePutEventsJsonataProps : ITaskStateJsonataBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonataCommonOptions
Syntax (vb)
Public Interface IEventBridgePutEventsJsonataProps
Inherits ITaskStateJsonataBaseProps, IStateBaseProps, ITaskStateBaseOptions, IAssignableStateOptions, IJsonataCommonOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
using Amazon.CDK.AWS.Events;
using Amazon.CDK.AWS.StepFunctions;
using Amazon.CDK.AWS.StepFunctions.Tasks;
var assign;
EventBus eventBus;
var outputs;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
var eventBridgePutEventsJsonataProps = new EventBridgePutEventsJsonataProps {
Entries = new [] { new EventBridgePutEventsEntry {
Detail = taskInput,
DetailType = "detailType",
Source = "source",
// the properties below are optional
EventBus = eventBus
} },
// the properties below are optional
Assign = new Dictionary<string, object> {
{ "assignKey", assign }
},
Comment = "comment",
Credentials = new Credentials {
Role = taskRole
},
Heartbeat = Duration.Minutes(30),
HeartbeatTimeout = timeout,
IntegrationPattern = IntegrationPattern.REQUEST_RESPONSE,
Outputs = outputs,
QueryLanguage = QueryLanguage.JSON_PATH,
StateName = "stateName",
TaskTimeout = timeout,
Timeout = Duration.Minutes(30)
};
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.