Skip to content

Instantly share code, notes, and snippets.

@sc68cal
Created July 20, 2021 15:30
Show Gist options
  • Select an option

  • Save sc68cal/9ceb6cfc9e85a44aaac5d8fb9b0b414e to your computer and use it in GitHub Desktop.

Select an option

Save sc68cal/9ceb6cfc9e85a44aaac5d8fb9b0b414e to your computer and use it in GitHub Desktop.

Revisions

  1. sc68cal created this gist Jul 20, 2021.
    20 changes: 20 additions & 0 deletions policy.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "route53:ListResourceRecordSets",
    "route53:ChangeResourceRecordSets"
    ],
    "Resource": {
    "arn:aws:route53:::hostedzone/<Your Route53 zone>"
    }
    },
    {
    "Effect": "Allow",
    "Action": "apigateway:GET",
    "Resource": "arn:aws:apigateway:*::/domainnames"
    }
    ]
    }