【问题标题】:Where can I find the list of region string for AWS services, e.g.: s3我在哪里可以找到 AWS 服务的区域字符串列表,例如:s3
【发布时间】:2018-03-15 02:51:10
【问题描述】:

我读过这个关于区域字符串的问题。 Configuring region in Node.js AWS SDK

但我尝试了亚马逊控制台中所有可能的页面,但仍然找不到用于初始化服务对象的区域字符串。

下面是显示区域的 S3 管理控制台,但我需要确切的区域字符串来初始化 s3 对象。我不能使用“美国东部(弗吉尼亚北部)”

var s3 = new AWS.S3({
  apiVersion: '2006-03-01', 
  region: 'us-east-1',  // where can I find this string???
  accessKeyId: 'AKIAJTZxxxxxxxxxxxxxxx', 
  secretAccessKey: 'xxxxxxxxxxxxxxxxxxxx'})

我正在尝试查找可以将“美国东部(弗吉尼亚北部)”映射到“us-east-1”的文档。我在哪里可以找到它?

【问题讨论】:

    标签: amazon-web-services amazon-s3


    【解决方案1】:

    AWS Regions and Endpoints 列出了所有地区。

    目前是:

    • 亚太地区(孟买):ap-south-1
    • 亚太地区(首尔):ap-northeast-2
    • 亚太地区(新加坡):ap-southeast-1
    • 亚太地区(悉尼):ap-southeast-2
    • 亚太地区(东京):ap-northeast-1
    • 加拿大(中部):ca-central-1
    • 欧盟(法兰克福):eu-central-1
    • 欧盟(爱尔兰):eu-west-1
    • 欧盟(伦敦):eu-west-2
    • 南美洲(圣保罗):sa-east-1
    • 美国东部(弗吉尼亚北部):us-east-1
    • 美国东部(俄亥俄州):us-east-2
    • 美国西部(加利福尼亚北部):us-west-1
    • 美国西部(俄勒冈):us-west-2

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-25
      • 1970-01-01
      • 1970-01-01
      • 2012-10-27
      • 1970-01-01
      • 1970-01-01
      • 2011-12-31
      • 2017-04-17
      相关资源
      最近更新 更多