课程: AWS for Developers: Data-Driven Serverless Applications with Kinesis

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Creating the first EventBridge event bus

Creating the first EventBridge event bus

- [Instructor] In this video, you are going to create a new custom event bus, and then you're going to create one rule that matches all the events that goes through the bus and send them to a CloudWatch log. So let's start by creating the event bus. The event bus is very simple. We are going to add a new resource of the type EventBus with the name MyEventBus, and then a name that will be the stack name dash event eda bus. That's it, that's all you need to create a new bus. Then we are going to create a log group. This log group will be the destination from our rule. So I'm going to create a log group with the log group name, the stack name and destination log group. Then we need to create a rule. This rule will match all the events that goes through the event bus. So my events rule of the type rule, and then we'll match everything to that, all the events that are coming through the rule that are coming through my event…

内容