Class ServiceIntegrationPattern
Three ways to call an integrated service: Request Response, Run a Job and Wait for a Callback with Task Token.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class ServiceIntegrationPattern : Enum
Syntax (vb)
Public NotInheritable Class ServiceIntegrationPattern
Inherits
Enum
Remarks
Default: FIRE_AND_FORGET
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html
Here, they are named as FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN respectfully.
Synopsis
Fields
FIRE_AND_FORGET | Call a service and progress to the next state immediately after the API call completes. |
SYNC | Call a service and wait for a job to complete. |
value__ | |
WAIT_FOR_TASK_TOKEN | Call a service with a task token and wait until that token is returned by SendTaskSuccess/SendTaskFailure with payload. |
Fields
FIRE_AND_FORGET
Call a service and progress to the next state immediately after the API call completes.
public const ServiceIntegrationPattern FIRE_AND_FORGET
Field Value
Type | Description |
---|---|
ServiceIntegrationPattern |
SYNC
Call a service and wait for a job to complete.
public const ServiceIntegrationPattern SYNC
Field Value
Type | Description |
---|---|
ServiceIntegrationPattern |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
WAIT_FOR_TASK_TOKEN
Call a service with a task token and wait until that token is returned by SendTaskSuccess/SendTaskFailure with payload.
public const ServiceIntegrationPattern WAIT_FOR_TASK_TOKEN
Field Value
Type | Description |
---|---|
ServiceIntegrationPattern |