<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohsin Ali</title>
    <description>The latest articles on DEV Community by Mohsin Ali (@mohsinnaqvipro).</description>
    <link>https://dev.to/mohsinnaqvipro</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1889265%2F559b97bb-dc68-4dcd-9a55-28f800039a75.jpg</url>
      <title>DEV Community: Mohsin Ali</title>
      <link>https://dev.to/mohsinnaqvipro</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohsinnaqvipro"/>
    <language>en</language>
    <item>
      <title>Amazon Event Bridge (formerly CloudWatch Events)</title>
      <dc:creator>Mohsin Ali</dc:creator>
      <pubDate>Tue, 06 Aug 2024 07:54:18 +0000</pubDate>
      <link>https://dev.to/mohsinnaqvipro/amazon-event-bridge-formerly-cloudwatch-events-4k2a</link>
      <guid>https://dev.to/mohsinnaqvipro/amazon-event-bridge-formerly-cloudwatch-events-4k2a</guid>
      <description>&lt;p&gt;&lt;em&gt;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.&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Let's Start Happy Coding&lt;/strong&gt; :)&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Schedule Cron Jobs&lt;/strong&gt;: AWS EventBridge allows you to automate your AWS services and integrate them with external services.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwg1ve40om6yw0k3tv1lm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwg1ve40om6yw0k3tv1lm.png" alt="cronJobs" width="800" height="94"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Event Pattern&lt;/strong&gt;: 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&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6ugjbitd0psu8rzaxy6q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6ugjbitd0psu8rzaxy6q.png" alt="eventRules" width="800" height="102"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon EventBridge Trigger&lt;/strong&gt;: 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.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1r5ktzsm92dcpczhe7h4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1r5ktzsm92dcpczhe7h4.png" alt="trigger" width="700" height="694"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Amazon EventBridge Rules&lt;/strong&gt;: 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.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqa3qjcao9qupuvdeiosd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqa3qjcao9qupuvdeiosd.png" alt="eventBridgeRules" width="800" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon EventBridge (with other services)&lt;/strong&gt;: 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.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdo6ubvv1argkylqwytao.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdo6ubvv1argkylqwytao.png" alt="eventBridge" width="800" height="206"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AWS EventBridge Schema Registry&lt;/strong&gt;: 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.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv8d8atunvrov9uo1eoe7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv8d8atunvrov9uo1eoe7.png" alt="schemaRegistry" width="687" height="698"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AWS EventBridge Resource-based Policy&lt;/strong&gt;: 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.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv93yusbafy4agjz2y14g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv93yusbafy4agjz2y14g.png" alt="resourceBasedPolicy" width="800" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>awschallenge</category>
      <category>devops</category>
      <category>development</category>
    </item>
  </channel>
</rss>
