[{"data":1,"prerenderedAt":65},["ShallowReactive",2],{"pattern-sfn-comprehend":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":12,"deploy":14,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":27,"language":33,"level":34,"meta":35,"patternArch":36,"resources":49,"s3URL":6,"services":58,"stem":59,"testing":60,"videoId":32,"__hash__":64},"patterns\u002Fpatterns\u002Fsfn-comprehend.json","AWS Step Functions to Amazon Comprehend",null,{"headline":8,"text":9,"test":11},"Cleanup",[10],"Delete the stack: \u003Ccode>cdk destroy\u003C\u002Fcode>.",[],[13],"content\u002Fcontributors\u002Frevanth-anireddy.json",{"text":15},[16],"cdk deploy","Create an AWS Step Functions workflow to integrate with Amazon Comprehend.","json","AWS CDK",{"template":21,"payloads":26},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fsfn-comprehend-sdk","serverless-patterns\u002Fsfn-comprehend-sdk","sfn-comprehend-sdk","sfn_comprehend_sdk\u002Fsfn_comprehend_sdk_stack.py",[],{"headline":28,"text":29,"text2":32},"How it works",[30,31],"This CDK application deploys a Step Functions workflow, that takes in a payload and sends it to the sentiment analysis API of the Amazon Comprehend service.","The output of the Sentiment Analysis API returns the overall sentiment ((Positive, Negative, Neutral, or Mixed) of the text we have provided. This pattern exactly shows how we can use AWS Step Functions SDK integrations to call any of the over two hundred AWS services directly from your state machine. The application contains the minimum IAM resources required to run the workflow.","","Python","100",{},{"icon1":37,"icon2":42,"line1":46},{"x":38,"y":39,"service":40,"label":41},20,50,"sfn","Step Functions",{"x":43,"y":39,"service":44,"label":45},80,"comprehend","Amazon Comprehend",{"from":47,"to":48,"label":32},"icon1","icon2",{"headline":50,"bullets":51},"Additional resources",[52,55],{"text":53,"link":54},"Synchronous Express Workflows for AWS Step Functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fnew-synchronous-express-workflows-for-aws-step-functions\u002F",{"text":56,"link":57},"Contact form processing with Synchronous Express Workflows","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fcontact-form-processing-with-synchronous-express-workflows",{"from":40,"to":40},"patterns\u002Fsfn-comprehend",{"headline":61,"text":62},"Testing",[63],"See the GitHub repo for detailed testing instructions.","uVsztgZ8hbHp4_pbk51GtYCiHME86-kbQSTEPf-z2ZI",1780742126240]