From the course: AWS for Developers: Data-Driven Serverless Applications with Kinesis (2019)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create stream with CloudFormation

Create stream with CloudFormation - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: Data-Driven Serverless Applications with Kinesis (2019)

Start my 1-month free trial

Create stream with CloudFormation

- [Instructor] Previously we created an API gateway in AWS Lambda. That lambda was not doing anything. In the following videos we are going to create a Kinesis stream and a Dynamo DB table. Then we are going to add some logic to the lambda so when we call that endpoint, the order is saved in the table and also put into the stream. So, in the previous videos we learned about Kinesis stream. So now is the time to write that in project. So we are going to create the stream that we are going to use during our whole project. So for doing that we are going to the serverless yml to the bottom of the file and here we are going to type resources and then again, resources. I know, it's two times, but after this line 16 we are going to define cloud formation scripting. It's very simple, so don't be afraid. We are going to define the stream. So I will call it order events stream. That's the cloud formation name for our stream. Then we need to tell what type of cloud formation object we are…

Contents