Table of Contents

Class EnvironmentVariableAWSRegion

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll

Determines region based on an environment variable. If the environment does not contain the region setting key an InvalidOperationException is thrown.

public class EnvironmentVariableAWSRegion : AWSRegion
Inheritance
EnvironmentVariableAWSRegion
Inherited Members

Constructors

EnvironmentVariableAWSRegion()

Attempts to construct an instance of EnvironmentVariableAWSRegion. If no region is found in the environment then an InvalidOperationException is thrown.

public EnvironmentVariableAWSRegion()

Fields

ENVIRONMENT_VARIABLE_DEFAULT_REGION

public const string ENVIRONMENT_VARIABLE_DEFAULT_REGION = "AWS_DEFAULT_REGION"

Field Value

string

ENVIRONMENT_VARIABLE_REGION

public const string ENVIRONMENT_VARIABLE_REGION = "AWS_REGION"

Field Value

string