[{"data":1,"prerenderedAt":66},["ShallowReactive",2],{"pattern-s3-lambda-agentcore":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":31,"level":32,"meta":33,"patternArch":34,"resources":52,"s3URL":6,"services":60,"stem":61,"testing":62,"videoId":6,"__hash__":65},"patterns\u002Fpatterns\u002Fs3-lambda-agentcore.json","Amazon S3 to AWS Lambda to Amazon Bedrock AgentCore.",null,{"text":8},[9],"terraform destroy",[11],"content\u002Fcontributors\u002Fgeoffrey-burdett.json",{"text":13},[14],"terraform apply","This pattern creates an Amazon S3 bucket, which triggers an AWS Lambda function, which invokes an agent in Amazon Bedrock AgentCore.","json","Terraform",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fs3-lambda-agentcore","serverless-patterns\u002Fs3-lambda-agentcore","s3-lambda-agentcore","deploy.tf",{"headline":25,"text":26},"How it works",[27,28,29,30],"S3 will invoke the Lambda function when an object is created or updated. It will pass metadata about the new object in the event argument of the Lambda invocation.","The Lambda function will invoke the agent and pass a uri for the S3 file.","The agent will categorize the file as architecture, runbook, or other and identify some metadata. Then it will send the results back to the Lambda function as JSON.","The Lambda function will write the metadata to the S3 output bucket.","Python","200",{},{"icon1":35,"icon2":40,"icon3":43,"line1":47,"line2":50},{"x":36,"y":37,"service":38,"label":39},20,50,"s3","Amazon S3",{"x":37,"y":37,"service":41,"label":42},"lambda","AWS Lambda",{"x":44,"y":37,"service":45,"label":46},80,"bedrock","Amazon Bedrock AgentCore",{"from":48,"to":49},"icon1","icon2",{"from":49,"to":51},"icon3",{"bullets":53},[54,57],{"text":55,"link":56},"Trigger AWS Lambda with Amazon S3","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-s3.html",{"text":58,"link":59},"Invoke an AgentCore Runtime agent","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock-agentcore\u002Flatest\u002Fdevguide\u002Fruntime-invoke-agent.html",{"from":38,"to":41},"patterns\u002Fs3-lambda-agentcore",{"text":63},[64],"See the GitHub repo for detailed testing instructions.","SJqblevRylyD564fr5xEIiQCt8OTu8_Gzd4s77HVRXU",1778846887275]