AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This class can be used to discover the public address ranges for AWS. The information is retrieved from the publicly accessible https://ip-ranges.amazonaws.com/ip-ranges.json file.
Namespace: Amazon.Util
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z
public class AWSPublicIpAddressRanges
The AWSPublicIpAddressRanges type exposes the following members
Name | Type | Description | |
---|---|---|---|
AllAddressRanges | System.Collections.Generic.IEnumerable<Amazon.Util.AWSPublicIpAddressRange> |
Collection of all public IP ranges. |
|
CreateDate | System.DateTime |
The publication date and time of the file that was downloaded and parsed. |
|
ServiceKeys | System.Collections.Generic.IEnumerable<System.String> |
Collection of service keys found in the data file. |
Name | Description | |
---|---|---|
AddressRangesByNetworkBorderGroup(string) |
Filtered collection of public IP ranges for the given network border group. |
|
AddressRangesByRegion(string) |
Filtered collection of public IP ranges for the given region (us-east-1 etc) or GLOBAL. |
|
AddressRangesByServiceKey(string) |
Filtered collection of public IP ranges for the given service key |
|
Load() |
Downloads the most recent copy of the endpoint address file and parses it to a collection of address range objects. |
|
Load(IWebProxy) |
Downloads the most recent copy of the endpoint address file and parses it to a collection of address range objects. |
Name | Type | Description | |
---|---|---|---|
AmazonServiceKey | System.String | ||
CloudFrontServiceKey | System.String | ||
EC2ServiceKey | System.String | ||
GlobalRegionIdentifier | System.String |
Region identifier string for ROUTE53 and CLOUDFRONT ranges |
|
Route53HealthChecksServiceKey | System.String | ||
Route53ServiceKey | System.String |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5