Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New serverless pattern - AWS Step Functions wait for callback functionality using SAM #2028

Conversation

biswanathmukherjee
Copy link
Contributor

Issue #, if available:

Description of changes:

The SAM template deploys a Step Functions Standard workflow that takes a JSON input (for example, payload to charge customer). The state machine sends the message to Amazon SQS Queue and waits for the callback. An AWS Lambda function is deployed to process the message from the SQS Queue and calls the state machine with either task success or failure. Depending on the callback type (success or failure) the state machine publishes messages to Amazon SNS Topic for notification. The SAM template contains the required resouces with IAM permission to run the application with logging enabled.

@biswanathmukherjee biswanathmukherjee changed the title AWS Step Functions wait for callback functionality using SAM New serverless pattern - AWS Step Functions wait for callback functionality using SAM Jan 10, 2024
@parikhudit
Copy link
Contributor

Thanks for the PR @biswanathmukherjee
Unfortunately, we have similar pattern here: https://serverlessland.com/workflows/wait-for-callback.

@biswanathmukherjee
Copy link
Contributor Author

Thanks for the link. As it seems similar pattern already exists, I am closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants