C# Класс Amazon.Runtime.InstanceProfileAWSRegion

Determines region based on inspection of the instance metadata if running on an EC2 instance. If instance metadata cannot be read or does not contain region information an InvalidOperationException is thrown.
Наследование: AWSRegion
Показать файл Открыть проект

Открытые методы

Метод Описание
InstanceProfileAWSRegion ( ) : System

Attempts to construct an instance of InstanceProfileAWSRegion. If no region is found in the metadata or we are not running on an EC2 instance an InvalidOperationException is thrown.

Описание методов

InstanceProfileAWSRegion() публичный Метод

Attempts to construct an instance of InstanceProfileAWSRegion. If no region is found in the metadata or we are not running on an EC2 instance an InvalidOperationException is thrown.
public InstanceProfileAWSRegion ( ) : System
Результат System