[{"data":1,"prerenderedAt":64},["ShallowReactive",2],{"workflow-s3-sfn-lambda-bedrock":3},{"id":4,"title":5,"cleanup":6,"contributors":9,"deploy":11,"description":14,"diagram":15,"extension":16,"framework":17,"gitHub":18,"introBox":24,"level":30,"meta":31,"resources":33,"s3URL":50,"services":51,"simplicity":56,"stem":57,"testing":58,"type":61,"usecase":62,"videoId":50,"__hash__":63},"workflows\u002Fworkflows\u002Fs3-sfn-lambda-bedrock.json","S3 to Step Functions to Lambda to Bedrock",{"text":7},[8],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>",[10],"content\u002Fcontributors\u002Fdave-horne.json",{"text":12},[13],"Deploy the stack: \u003Ccode>sam build && sam deploy --guided\u003C\u002Fcode>","Create a Step Functions workflow to summarize S3 objects using Amazon Bedrock.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fs3-sfn-lambda-bedrock.png","json","AWS SAM",{"template":19},{"repoURL":20,"templateDir":21,"templateFile":22,"ASL":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fs3-sfn-lambda-bedrock\u002F","s3-sfn-lambda-bedrock","template.yaml","statemachine\u002Fstatemachine.asl.json",{"headline":25,"text":26},"Serverless Document Summarization with Bedrock",[27,28,29],"This sample project demonstrates how to use an AWS Step Functions state machine to orchestrate S3 object summarization using Amazon Bedrock. The state machine is triggered by new file uploads to an S3 bucket and coordinates the execution of Lambda functions to process and summarize the documents.","The state machine first checks the file type (txt, pdf, or docx) and invokes the appropriate Lambda function to extract the text content. The extracted text is then passed to another Lambda function that leverages Amazon Bedrock's natural language processing capabilities to generate a concise summary.","The generated summary is stored in the original S3 bucket, providing users with a convenient way to access the key information from large documents without having to read through the entire content.","300",{"payloads":32},[],{"bullets":34},[35,38,41,44,47],{"text":36,"link":37},"Amazon Bedrock","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fwhat-is-bedrock.html",{"text":39,"link":40},"AWS Step Functions","https:\u002F\u002Faws.amazon.com\u002Fstep-functions\u002F",{"text":42,"link":43},"AWS Lambda","https:\u002F\u002Faws.amazon.com\u002Flambda\u002F",{"text":45,"link":46},"AWS Serverless Data Analytics Pipeline Reference Architecture","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fbig-data\u002Faws-serverless-data-analytics-pipeline-reference-architecture\u002F",{"text":48,"link":49},"AWS Serverless Data Analytics Pipeline Whitepaper","https:\u002F\u002Fdocs.aws.amazon.com\u002Fwhitepapers\u002Flatest\u002Faws-serverless-data-analytics-pipeline\u002Faws-serverless-data-analytics-pipeline.html",null,[52,53,54,55],"s3","sfn","lambda","bedrock","2 - Pattern","workflows\u002Fs3-sfn-lambda-bedrock",{"text":59},[60],"See the GitHub repo for detailed testing instructions.","Express","AI\u002FML\u002FGenAI","B8pnBk3xSmqFpPUufd2ZgxWZYf7hCdbCCB0vj7l8OiI",1782124511866]