Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

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

Revisions

  1. 5t33 created this gist Jul 30, 2023.
    20 changes: 20 additions & 0 deletions aws-pinpoint-assume-role.json.tpl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "sts:AssumeRole"
    ],
    "Principal": {
    "Service": "pinpoint.amazonaws.com"
    },
    "Condition": {
    "StringEquals": {
    "aws:SourceAccount":"${ACCOUNT_ID}"
    }
    }
    }
    ]
    }