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.
public class AWSPublicIpAddressRanges
The AWSPublicIpAddressRanges type exposes the following members
Collection of all public IP ranges.
The publication date and time of the file that was downloaded and parsed.
Collection of service keys found in the data file.
Filtered collection of public IP ranges for the given region (us-east-1 etc) or GLOBAL.
Filtered collection of public IP ranges for the given service key
Downloads the most recent copy of the endpoint address file and parses it to a collection of address range objects.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone