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
파일 보기 프로젝트 열기: aws/aws-sdk-net

공개 메소드들

메소드 설명
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