Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shar1z
Created September 8, 2020 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shar1z/622aadb5876001f6c0248e4524a88c23 to your computer and use it in GitHub Desktop.
Save shar1z/622aadb5876001f6c0248e4524a88c23 to your computer and use it in GitHub Desktop.
iamRoleStatements:
- Effect: Allow
Action:
- dynamodb:Query
- dynamodb:Scan
- dynamodb:GetItem
- dynamodb:PutItem
- dynamodb:UpdateItem
- dynamodb:DeleteItem
Resource: "arn:aws:dynamodb:${opt:region, self:provider.region}:*:table/${self:provider.environment.DYNAMODB_TABLE}"
- Effect: Allow
Action:
- lambda:InvokeFunction
- lambda:InvokeAsync
Resource: "*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment