Welcome to my way to support the AWS community. I hope this project help you in your journey using AWS services. AWS team is always great creating new content in their blog. There are many articles that solve real-life project problems, but they are using AWS Management Console. Do not get me wrong!. I understand that this articles are oriented for the general public, but in many companies, this is not the way we work. CloudFormation is the most susteinable solution for many teams to deploy and maintain their services. With the goal of help the community, I am trying to translate official AWS blog posts in CloudFormation templates, ready to deploy.
Official site: https://aws.amazon.com/blogs/compute/
-
Using Amazon API Gateway as a proxy for DynamoDB
Official link: https://aws.amazon.com/blogs/compute/using-amazon-api-gateway-as-a-proxy-for-dynamodb/
CloudFormation templates:
- Main folder: apigateway-proxy-dynamodb
- Create the DynamoDB stack: dynamodb-template.yaml
- Create the ApiGateway stack: apigateway-template.yaml
Notes: For the ApiGateway you will need create a role with access to actions in DynamoDB. You can add it's ARN as value of the parameter
DynamoDBRoleARN