Permissions

To deploy this application, you need to have configured the AWS CLI tool and a user with the following permissions:

  • AWSLambdaFullAccess
  • IAMFullAccess
  • AmazonDynamoDBFullAccess
  • AmazonAPIGatewayAdministrator
  • AmazonCognitoPowerUser
  • CloudFormationAdministrator

It is worth noting that the latter was created manually and can be added when configuring the user by adding a JSON definition to the policy:

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1449904348000",
"Effect": "Allow",
"Action": [
"cloudformation:CreateStack",
"cloudformation:CreateChangeSet",
"cloudformation:ListStacks",
"cloudformation:UpdateStack",
"cloudformation:DeleteStack",
"cloudformation:DescribeStacks",
"cloudformation:DescribeStackResource",
"cloudformation:DescribeStackEvents",
"cloudformation:ValidateTemplate",
"cloudformation:DescribeChangeSet",
"cloudformation:ExecuteChangeSet"
],
"Resource": [
"*"
]
}
]
}

When you have created a user with the necessary credentials, you can build and deploy the application using the Serverless Framework, which builds all the lambdas automatically.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.73.207