Skip to content

Instantly share code, notes, and snippets.

@Harrison-M
Last active June 28, 2017 00:34
Show Gist options
  • Save Harrison-M/daa5959d02bb71ea92e0afbf520bc35f to your computer and use it in GitHub Desktop.
Save Harrison-M/daa5959d02bb71ea92e0afbf520bc35f to your computer and use it in GitHub Desktop.
test POST payload and permissions
{
"TableName": "HalTable",
"Item": {
"Name": "Hal Massey",
"Score": 50
}
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents"
],
"Resource": "arn:aws:logs:*:*:*"
},{
"Effect": "Allow",
"Action": [
"dynamodb:DeleteItem",
"dynamodb:GetItem",
"dynamodb:PutItem",
"dynamodb:Scan",
"dynamodb:UpdateItem"
],
"Resource": "arn:aws:dynamodb:*:*:table/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment