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

今天就学习课程吧!

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

Create a Kinesis Data Stream with AWS SAM

Create a Kinesis Data Stream with AWS SAM

- [Instructor] Now that you have your SAM projects, and you know what Amazon Kinesis Data Stream is, let's create one simple stream using AWS SAM. Because some doesn't have a resource for Kinesis data stream, we are going to use cloud formation notation. But as you learned in the SAM video, SAM can be extended with cloud formation with no problem. So to define stream, we need to put it under the resources. We have a function, so let's create it under the function. And here we are going to type the name of the resource. In this case, we are going to put in source, then the type, Kinesis stream, and then a name. I'm going to name it with the name of my stack with a dash source. So it'll be, I think the stack was linked in Project, Kinesis project. And then we are going to find the mode for the stream, either provision or on demand. If we do provision, we need to set the type of charts. If we leave it in the stream mode on…

内容