Skip to content

Instantly share code, notes, and snippets.

@unitygirl
Last active April 19, 2017 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save unitygirl/3b0bdc0f0826fb88448cf17ac4a7293b to your computer and use it in GitHub Desktop.
Save unitygirl/3b0bdc0f0826fb88448cf17ac4a7293b to your computer and use it in GitHub Desktop.
Tutorial Help

How to Add a DynamoDB Role to your Lambda Function

Step 1: Role Summary

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Stmt1428341300017",
      "Action": [
        "dynamodb:DeleteItem",
        "dynamodb:GetItem",
        "dynamodb:PutItem",
        "dynamodb:Query",
        "dynamodb:Scan",
        "dynamodb:UpdateItem"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Sid": "",
      "Resource": "*",
      "Action": [
        "logs:CreateLogGroup",
        "logs:CreateLogStream",
        "logs:PutLogEvents"
      ],
      "Effect": "Allow"
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment