Serverless Event Gateway Pattern

<h1>Introduction</h1> <p>There are many times when developing our serverless solutions when we need to interact with existing legacy systems or 3rd party services within our wider domain; and they are unable to publish and consume events from your central&nbsp;<a href="https://docs.aws.amazon.com/eventbridge/index.html" rel="noopener ugc nofollow" target="_blank">Amazon EventBridge</a>&nbsp;bus directly due to technology or framework limitations.</p> <pre> This could be simply that they can&#39;t utilise the aws-sdk or iam in code, but can perform REST API requests.</pre> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*OwuOl6UMIakjz7GUu-3zEA.png" style="height:151px; width:700px" /></p> <p>This quick article discusses using the &lsquo;<strong>Event Gateway Pattern</strong>&rsquo; alongside Amazon EventBridge and&nbsp;<a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html" rel="noopener ugc nofollow" target="_blank">Amazon EventBridge API Destinations</a>&nbsp;to allow this flow between systems&nbsp;<strong>both ways</strong>&nbsp;i.e. consuming and publishing based on domain events.</p> <p><a href="https://blog.serverlessadvocate.com/serverless-event-gateway-pattern-7578b59730fe"><strong>Visit Now</strong></a></p>