Skip to content

Instantly share code, notes, and snippets.

@5t33
Created July 30, 2023 22:10
Show Gist options
  • Select an option

  • Save 5t33/c965d7e715c58d645e5821706b98604a to your computer and use it in GitHub Desktop.

Select an option

Save 5t33/c965d7e715c58d645e5821706b98604a to your computer and use it in GitHub Desktop.

Revisions

  1. 5t33 created this gist Jul 30, 2023.
    22 changes: 22 additions & 0 deletions pinpoint-role-policy.json.tpl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "kinesis:PutRecords",
    "kinesis:DescribeStream"
    ],
    "Resource": "arn:aws:kinesis:us-west-2:${ACCOUNT_ID}:stream/org-name-app-event-stream-dev"
    },
    {
    "Effect": "Allow",
    "Action": [
    "kms:DescribeKey"
    ],
    "Resource": [
    "arn:aws:kms:us-west-2:${ACCOUNT_ID}:key/<kms kinesis key ID>"
    ]
    }
    ]
    }