Aws EventBridge
Aws EventBridge
AWS EventBridge is a serverless event bus service that acts as a central nervous system for
your event-driven applications. It allows you to connect and coordinate different parts of your
infrastructure, including:
• AWS services: Amazon S3, DynamoDB, Lambda, SNS, SQS, and many more.
• SaaS applications: Integrate with popular third-party applications like Zendesk,
Salesforce, and others.
• Custom applications: Build event-driven architectures using your own event sources.
• Event Buses: Choose from default event buses for AWS services or create custom
buses for your applications.
• Event Rules with Powerful Filtering: Define rules to match specific event attributes
and route them to the appropriate targets.
• Schema Registry: Automatically discovers and stores the structure (schema) of your
events, making them easier to understand and use. Plus, it provides code bindings for
various programming languages.
• Built-in Integrations: Seamlessly connect EventBridge with a vast array of AWS
services and third-party applications, eliminating the need for custom integrations.
• Cross-Account Delivery: Send events across different AWS accounts, enabling
efficient communication within multi-account setups.
• Custom Event Sources: Create your own events and event sources to cater to unique
application requirements.
• Event Replay: Replay past events for debugging and testing purposes.
• Monitoring and Logging: Integrate with CloudWatch to monitor and log event
traffic for efficient troubleshooting.
This example shows creating an EventBridge schedule that directly invokes an AWS
Lambda function:
2. Create a Schedule
• In the EventBridge dashboard, navigate to the "Schedules" section (it might be under
"More" depending on your console view). Click "Create schedule."
• Name and Description (Optional): Give your schedule a clear name and optionally
add a description for reference.
• Schedule Expression:
o Fixed Rate: Choose this for simple intervals (e.g., every 15 minutes). Specify
the interval value and time unit (minutes, hours, days).
o Cron Expression: Use this for more complex scheduling needs (refer to AWS
documentation for syntax: https://docs.aws.amazon.com/elemental-
cl3/latest/apireference/channel-scheduling-cron-syntax-summary.html).
cron(0 8 ? * MON *)
4. Configure Target
• Review Settings: Double-check your schedule name, expression, target function, and
any provided input.
• Create Schedule: Click "Create" to finalize the schedule creation.