DEV Community

Cover image for Amazon Event Bridge (formerly CloudWatch Events)
Mohsin Ali
Mohsin Ali

Posted on

Amazon Event Bridge (formerly CloudWatch Events)

Hello, In this blog, I'll be sharing insights and practical tips on using AWS EventBridge, an event bus service that makes it easier to build event-driven applications. Join me as we explore the powerful features and capabilities of EventBridge and how it can transform the way we manage and integrate events in our systems.

Let's Start Happy Coding :)

  • Schedule Cron Jobs: AWS EventBridge allows you to automate your AWS services and integrate them with external services.
    cronJobs

  • Event Pattern: Event patterns allow you to filter events from AWS services, ensuring that your rule only triggers when certain criteria are met Event rules to restrict a service from doing something
    eventRules

  • Amazon EventBridge Trigger: Lambda functions, and sends SQS/SNS messages. To set up a trigger in AWS EventBridge, you need to create a rule that defines the event pattern or schedule that will trigger the target action. The target can be an AWS service such as Lambda, Step Functions, SNS, SQS, or others.
    trigger

  • Amazon EventBridge Rules: You specify what EventBridge does with the events delivered to each event bus. To do this, you create rules. A rule specifies which events to send to which targets for processing. A single rule can send an event to multiple targets, which then run in parallel. You can create two types of rules: rules that match on event data as events are delivered, and rules that run on a defined schedule. In addition, certain AWS services may create and manage rules in your account as well.

eventBridgeRules

  • Amazon EventBridge (with other services): Event buses can be accessed by other AWS accounts using Resource-bases Policies. You can archive events (all/filter) sent to an event bus (definitely or set period). Ability to replay archived events.

eventBridge

  • AWS EventBridge Schema Registry: EventBridge can analyze the events in your bus and infer the schema. The Schema Registry allows you to generate code for your application, that will know in advance how data is structured in the events bus. Schema can be versioned.

schemaRegistry

  • AWS EventBridge Resource-based Policy: Manage permissions for a specific Event Bus. allow/deny events from another AWS account or AWS region. Use case: aggregate all events from your AWS Organization in a single AWS account or AWS region.

resourceBasedPolicy

Top comments (0)