https://ip-ranges.amazonaws.com/ip-ranges.json
Syntax
The syntax of ip-ranges.json
is as follows.
{
"syncToken": "0123456789
",
"createDate": "yyyy
-mm
-dd
-hh
-mm
-ss
",
"prefixes": [
{
"ip_prefix": "cidr
",
"region": "region
",
"service": "subset
"
}
]
}
- syncToken
- The publication time, in Unix epoch time format.
Type: String
Example:
"syncToken": "1416435608"
- createDate
- The publication date and time.
Type: String
Example:
"createDate": "2014-11-19-23-29-02"
- prefixes
- The IP prefixes.
Type: Array
- ip_prefix
- The public IP address range, in CIDR notation.
Type: String
Example:
"ip_prefix": "198.51.100.2/24"
- region
- The AWS region or
GLOBAL
for edge locations. Note that theCLOUDFRONT
andROUTE53
ranges areGLOBAL
.Type: String
Valid values:
ap-northeast-1
|ap-southeast-1
|ap-southeast-2
|cn-north-1
|eu-central-1
|eu-west-1
|sa-east-1
|us-east-1
|us-gov-west-1
|us-west-1
|us-west-2
|GLOBAL
Example:
"region": "us-east-1"
- service
- The subset of IP address ranges. Specify
AMAZON
to get all IP address ranges (for example, the ranges in theEC2
subset are also in theAMAZON
subset). Note that some IP address ranges are only in theAMAZON
subset.Type: String
Valid values:
AMAZON
|EC2
|CLOUDFRONT
|ROUTE53
|ROUTE53_HEALTHCHECKS
Example:
"service": "AMAZON"