Documentation

Region extends Enum
in package

Contains enumerable region code values. These should be useful in most cases, with Amazon S3 being the most notable exception

Tags
link

AWS Regions and Endpoints

Table of Contents

Constants

AP_NORTHEAST_1  = 'ap-northeast-1'
AP_SOUTHEAST_1  = 'ap-southeast-1'
AP_SOUTHEAST_2  = 'ap-southeast-2'
BEIJING  = 'cn-north-1'
CALIFORNIA  = 'us-west-1'
CN_NORTH_1  = 'cn-north-1'
EU_CENTRAL_1  = 'eu-central-1'
EU_WEST_1  = 'eu-west-1'
FRANKFURT  = 'eu-central-1'
GOV_CLOUD_US  = 'us-gov-west-1'
IRELAND  = 'eu-west-1'
NORTHERN_CALIFORNIA  = 'us-west-1'
NORTHERN_VIRGINIA  = 'us-east-1'
OREGON  = 'us-west-2'
SA_EAST_1  = 'sa-east-1'
SAO_PAULO  = 'sa-east-1'
SINGAPORE  = 'ap-southeast-1'
SYDNEY  = 'ap-southeast-2'
TOKYO  = 'ap-northeast-1'
US_EAST_1  = 'us-east-1'
US_GOV_WEST_1  = 'us-gov-west-1'
US_WEST_1  = 'us-west-1'
US_WEST_2  = 'us-west-2'
VIRGINIA  = 'us-east-1'

Properties

$cache  : array<string|int, mixed>

Methods

keys()  : array<string|int, mixed>
Returns the names (or keys) of all of constants in the enum
values()  : array<string|int, mixed>
Return the names and values of all the constants in the enum

Constants

AP_NORTHEAST_1

public mixed AP_NORTHEAST_1 = 'ap-northeast-1'

AP_SOUTHEAST_1

public mixed AP_SOUTHEAST_1 = 'ap-southeast-1'

AP_SOUTHEAST_2

public mixed AP_SOUTHEAST_2 = 'ap-southeast-2'

BEIJING

public mixed BEIJING = 'cn-north-1'

CALIFORNIA

public mixed CALIFORNIA = 'us-west-1'

CN_NORTH_1

public mixed CN_NORTH_1 = 'cn-north-1'

EU_CENTRAL_1

public mixed EU_CENTRAL_1 = 'eu-central-1'

EU_WEST_1

public mixed EU_WEST_1 = 'eu-west-1'

FRANKFURT

public mixed FRANKFURT = 'eu-central-1'

GOV_CLOUD_US

public mixed GOV_CLOUD_US = 'us-gov-west-1'

IRELAND

public mixed IRELAND = 'eu-west-1'

NORTHERN_CALIFORNIA

public mixed NORTHERN_CALIFORNIA = 'us-west-1'

NORTHERN_VIRGINIA

public mixed NORTHERN_VIRGINIA = 'us-east-1'

OREGON

public mixed OREGON = 'us-west-2'

SA_EAST_1

public mixed SA_EAST_1 = 'sa-east-1'

SAO_PAULO

public mixed SAO_PAULO = 'sa-east-1'

SINGAPORE

public mixed SINGAPORE = 'ap-southeast-1'

SYDNEY

public mixed SYDNEY = 'ap-southeast-2'

TOKYO

public mixed TOKYO = 'ap-northeast-1'

US_EAST_1

public mixed US_EAST_1 = 'us-east-1'

US_GOV_WEST_1

public mixed US_GOV_WEST_1 = 'us-gov-west-1'

US_WEST_1

public mixed US_WEST_1 = 'us-west-1'

US_WEST_2

public mixed US_WEST_2 = 'us-west-2'

VIRGINIA

public mixed VIRGINIA = 'us-east-1'

Properties

$cache

protected static array<string|int, mixed> $cache = array()

A cache of all enum values to increase performance

Methods

keys()

Returns the names (or keys) of all of constants in the enum

public static keys() : array<string|int, mixed>
Return values
array<string|int, mixed>

values()

Return the names and values of all the constants in the enum

public static values() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results