[{"data":1,"prerenderedAt":79},["ShallowReactive",2],{"pattern-eventbridge-scheduler-ai-agent":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":11,"deploy":13,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":30,"level":31,"meta":32,"patternArch":33,"resources":66,"s3URL":6,"services":6,"stem":74,"testing":75,"videoId":6,"__hash__":78},"patterns\u002Fpatterns\u002Feventbridge-scheduler-ai-agent.json","Invoke AI Agent with Amazon EventBridge Scheduler",null,{"text":8},[9,10],"terraform destroy","terraform show",[12],"content\u002Fcontributors\u002Frajil-paloth.json",{"text":14},[15,16],"terraform init","terraform apply","Create a EventBridge scheduler which invokes an Amazon Bedrock Agent.","json","Terraform",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Feventbridge-scheduler-ai-agent-trigger","serverless-patterns\u002Feventbridge-scheduler-ai-agent-trigger","eventbridge-scheduler-ai-agent-trigger","main.tf",{"headline":27,"text":28},"How it works",[29],"This pattern demonstrates how to invoke an Amazon Bedrock AI Agent on a recurring schedule using Amazon EventBridge Scheduler. An orchestrator AWS Lambda function, invoked by the scheduler, sends a task payload to the Amazon Bedrock Agent, which processes the input, generates an execution summary, and persists the result to an Amazon DynamoDB table. The pattern includes retry logic, a dead-letter queue for failed invocations, and least-privilege IAM policies scoped to the agent alias ARN.","Python","300",{},{"icon1":34,"icon2":39,"icon3":44,"icon4":49,"icon5":53,"line1":57,"line2":60,"line3":62,"line4":64},{"x":35,"y":36,"service":37,"label":38},18,50,"eventbridge-scheduler","Amazon EventBridge Scheduler",{"x":40,"y":41,"service":42,"label":43},45,25,"lambda","AWS Lambda",{"x":45,"y":46,"service":47,"label":48},55,75,"sqs","Amazon SQS DLQ",{"x":50,"y":41,"service":51,"label":52},65,"bedrock","Amazon Bedrock",{"x":54,"y":41,"service":55,"label":56},87,"dynamodb","Amazon DynamoDB",{"from":58,"to":59},"icon1","icon2",{"from":58,"to":61},"icon3",{"from":59,"to":63},"icon4",{"from":63,"to":65},"icon5",{"bullets":67},[68,71],{"text":69,"link":70},"Invoke a Lambda function on a schedule","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-eventbridge-scheduler.html",{"text":72,"link":73},"Allow users to view information about and invoke an agent","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fsecurity_iam_id-based-policy-examples-agent.html#security_iam_id-based-policy-examples-perform-actions-agent","patterns\u002Feventbridge-scheduler-ai-agent",{"text":76},[77],"See the GitHub repo for detailed testing instructions.","pYLbWvVOGh3OibgehNFf1Sa-IJKq1kw5vgW_MTNXwSk",1778846885280]