Invoke AI Agent with Amazon EventBridge Scheduler

Amazon EventBridge Scheduler → AWS Lambda → Amazon SQS DLQ → Amazon Bedrock → Amazon DynamoDB

Create a EventBridge scheduler which invokes an Amazon Bedrock Agent.

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.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-scheduler-ai-agent-trigger

Deploy

terraform initterraform apply


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

terraform destroy
terraform show

Created by:

Rajil Paloth

Rajil Paloth

ProServe Delivery Consultant at AWS

Follow on LinkedIn