In the previous chapter, we created an API authorizer that does not have any underlying data layer. Now we will create two DynamoDB tables, which are User and Token tables. As per their names, these tables will store our user list and access tokens, respectively.
Now let's add this block to our CloudFormation template's Resources section in order to create our UserTable table:
"UserTable": { "Type": "AWS::DynamoDB::Table", "Properties": { "AttributeDefinitions": [ { "AttributeName": "UserId", "AttributeType": "S" } ], "KeySchema": [ { "AttributeName": "UserId", "KeyType": "HASH" } ], "ProvisionedThroughput...