ServiceIntegrationPattern¶
-
class
aws_cdk.aws_stepfunctions.
ServiceIntegrationPattern
(value)¶ Bases:
enum.Enum
Three ways to call an integrated service: Request Response, Run a Job and Wait for a Callback with Task Token.
- 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.
Attributes
-
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.
-
WAIT_FOR_TASK_TOKEN
¶ Call a service with a task token and wait until that token is returned by SendTaskSuccess/SendTaskFailure with payload.