Amazon API Gateway REST API to Amazon Connect Task

API Gateway → Amazon Connect

Create an API Gateway REST API that integrates with an Amazon Connect Task.

This CDK project demonstrates integration with Amazon Connect by invoking API Gateway endpoints. Many Amazon Connect customers want to invoke ad-hoc tasks for their agents. These contact center agents can then perform subsequent tasks based on the actions listed.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd cdk-apigw-connect-start-task

Deploy

npm installcdk deploy


Testing

See the repo for detailed testing notes.

Cleanup

1. Delete the stack: npx cdk destroy.
2. Confirm the stack has been deleted: aws cloudformation list-stacks --query "StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus".
3. You see a message confirming DELETE_COMPLETE.

Created by:

Sai Kotagiri

Sai Kotagiri is a Partner Solutions Architect at Amazon Web Services based in New York metropolitan area. Sai has over 20 years of experience focusing on digital transformation and IT strategy

Follow on LinkedIn