From the course: AWS Quick Tips for Developers
Unlock this course with a free trial
Join today to access over 22,700 courses taught by industry experts.
Generating an API Gateway for DynamoDB - Amazon Web Services (AWS) Tutorial
From the course: AWS Quick Tips for Developers
Generating an API Gateway for DynamoDB
- [Narrator] Let's say you have a DynamoDB table and you want to provide access to it through an API, how can you create it when the table already exists? Well you can do it AppSync pretty easily. We have a table here that has four columns, id, active, which is a Boolean, name is a string, and SCORES which is a list of numbers. The id is also a string. So let's go to AppSync and set that up. So first I'm going to click Create API and I'm going to select Import DB table. Now we give it which table it is, PlayerRecord, and we'll let it create a New Role for us. So we'll import that and then have to specify the fields that we want to include in our API. Id is already in there so we can do name, which is a string, we'll make that required. We're not going to add active, but we are going to add the scores which is a list. So we select that it's an Integer list in this case, and click List. Now we can just create it by giving it a name. We'll name it ScoresAPI. We create this and then we…
Contents
-
-
Amazon Web Services quick tips54s
-
(Locked)
Triggering an AWS Lambda from DynamoDB1m 25s
-
(Locked)
Scheduling a Lambda to run regularly56s
-
(Locked)
Generating an API Gateway for DynamoDB1m 15s
-
(Locked)
Allowing RDS access for multiple servers52s
-
(Locked)
Sending email from an AWS Lambda1m 33s
-
(Locked)
Monitoring AWS billing with alarms1m 13s
-
(Locked)
Setting triggers for S3 bucket events55s
-
(Locked)
Protecting an S3 bucket from deletion1m 13s
-
(Locked)
Saving money with S3 Glacier1m 1s
-
(Locked)
Using CloudTrail for user action audits1m 22s
-
(Locked)
Setting user policies with IAM groups1m 10s
-
(Locked)
Hitting an AWS Lambda via API Gateway1m 9s
-
(Locked)
Creating an SNS event with S31m 30s
-
(Locked)
Easily hosting a web app on S31m 21s
-
(Locked)
Limiting access via IAM boundaries1m 22s
-
(Locked)
Enable MFA for root security47s
-
(Locked)
IAM credential report48s
-
(Locked)
Cognito user pool triggers1m 10s
-
(Locked)
SQS1m 31s
-
(Locked)
CloudFront1m 28s
-