{{ }} Substitute variables

Adjust the variable values according to your preference.

Policy Code

1{
2  "Version": "2012-10-17",
3  "Id": "PermitOnlyIPRange",
4  "Statement": [
5    {
6      "Sid": "Deny not in this range",
7      "Effect": "Deny",
8      "Principal": "*",
9      "Action": "ecr:*",
10      "Condition": {
11        "NotIpAddress": {
12          "aws:SourceIp": "54.240.143.0/24"
13        }
14      }
15    }
16  ]
17}

    Get the IAM Pulse Check Newsletter

    We send out a periodic newsletter full of tips & tricks, contributions from the community, commentary on the industry, relevant social posts, and more.

    Checkout past issues for a sampling of the goods.