In this video, learn how to create a DynamoDB table with CloudFormation and how to save data in the table using the AWS SDK.
- So, now we want to do the save order in database. … So, for doing that, we want to create first a table. … So, let's go to our serverless.yml … and create a new line of mode vim table. … We are going to create a table in the resources, … and you just go in the same alignment … that orderEventsStream, … and you can start typing there. … We will type the name of the cloud formation resource … that we will call orderTable. … As we did with Kinesis, we need to type … the type of the cloud formation resource … that we are creating. … So we are going to type AWS … DynamoDB … and then we do Table. … So, now we are creating a DynamoDB Table, … and then we need to pass on properties. … The first property that we are going to pass … is the table name. … And, we are going to call this table ordersTable. … Then, we will need to pass some attributes. … Dynamo is a schema-less database. … So, the only thing we need to define is the key. … In this case, we are going to define … the order ID as our key. …
- Backend as a service (BaaS)
- Function as a service (FaaS)
- Why infrastructure as code is so important
- Creating an order
- Setting up DynamoDB
- Saving into a DynamoDB table
- Using AWS SDK
- Sending a message to the stream
- Deploying and testing an application
- Cleaning up an AWS environment
Skill Level Intermediate
AWS for Developers: AWS AppSync with GraphQLwith Bear Cahill1h 25m Intermediate
Introduction to AWS DeepLenswith Jonathan Fernandes33m 50s Intermediate
What you should know1m 27s
1. Get Started with Serverless
2. Get Started with Kinesis
3. SNS, SQS, and Kinesis
4. Lifecycle of a Message in the Stream
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.