[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigw-rest-stepfunction":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":29,"language":34,"level":35,"meta":36,"patternArch":37,"resources":55,"s3URL":6,"services":64,"stem":65,"testing":66,"videoId":28,"__hash__":70},"patterns\u002Fpatterns\u002Fapigw-rest-stepfunction.json","Amazon API Gateway to AWS Step Functions to Amazon DynamoDB",null,{"headline":8,"text":9},"Cleanup",[10,11],"1. Delete the stack: \u003Ccode>sam delete --stack-name STACK_NAME\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>",[13],"content\u002Fcontributors\u002Ftiago-barbosa.json",{"text":15},[16],"sam deploy --guided","API Gateway REST API endpoint to Step Functions to DynamoDB","json","AWS SAM",{"template":21,"payloads":26},{"projectFolder":22,"repoURL":23,"templateURL":24,"templateFile":25},"apigw-rest-stepfunction","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fapigw-rest-stepfunction","serverless-patterns\u002Fapigw-rest-stepfunction","template.yaml",[27],{"headline":28,"payloadURL":28},"",{"headline":30,"text":31,"test":28},"How it works",[32,33],"This SAM template creates a API Gateway REST endpoint that uses an IAM role with StartExecution permissions on Step Functions deployed by the same SAM template.","The Step Functions workflow persists information received as input from the API Gateway endpoint to a DynamoDB table. An IAM role is used to ensure that write permissions only to Step Functions.","Node.js","300",{},{"icon1":38,"icon2":43,"icon3":46,"line1":50,"line2":53},{"x":39,"y":40,"service":41,"label":42},20,50,"apigw","API Gateway",{"x":40,"y":40,"service":44,"label":45},"sfn","Step Functions",{"x":47,"y":40,"service":48,"label":49},80,"dynamodb","Amazon DynamoDB",{"from":51,"to":52},"icon1","icon2",{"from":52,"to":54},"icon3",{"headline":56,"bullets":57},"Additional resources",[58,61],{"text":59,"link":60},"Synchronous Express Workflows for AWS Step Functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fnew-synchronous-express-workflows-for-aws-step-functions\u002F",{"text":62,"link":63},"Contact form processing with Synchronous Express Workflows","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fcontact-form-processing-with-synchronous-express-workflows",{"from":41,"to":44},"patterns\u002Fapigw-rest-stepfunction",{"headline":67,"text":68},"Testing",[69],"See the GitHub repo for detailed testing instructions.","wU012I5HdRuf1DYSNqdDuKEzWdu9WgnG05HIVjlrG0k",1778846882691]