Module: Bosh::Providers::Constants::AwsConstants

Extended by:
AwsConstants
Included in:
Bosh::Providers::Clients::AwsProviderClient, AwsConstants
Defined in:
lib/bosh/providers/constants/aws_constants.rb

Instance Method Summary collapse

Instance Method Details

#default_region_codeObject



22
23
24
# File 'lib/bosh/providers/constants/aws_constants.rb', line 22

def default_region_code
  "us-east-1"
end

#region_labelsObject



9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/bosh/providers/constants/aws_constants.rb', line 9

def region_labels
  [
    { label: "US East (Northern Virginia) Region", code: "us-east-1" },
    { label: "US West (Oregon) Region", code: "us-west-2" },
    { label: "US West (Northern California) Region", code: "us-west-1" },
    { label: "EU (Ireland) Region", code: "eu-west-1" },
    { label: "Asia Pacific (Singapore) Region", code: "ap-southeast-1" },
    { label: "Asia Pacific (Sydney) Region", code: "ap-southeast-2" },
    { label: "Asia Pacific (Tokyo) Region", code: "ap-northeast-1" },
    { label: "South America (Sao Paulo) Region", code: "sa-east-1" },
  ]
end