官术网_书友最值得收藏!

  • AWS Administration Cookbook
  • Lucas Chan Rowan Udell
  • 121字
  • 2021-07-09 18:18:27

Mappings

The mappings section is used to define a set of key/value pairs. If you require any kind of AWS region portability, perhaps for DR or availability purposes or simply to get your application closer to your end user, you'll almost certainly need to specify some mappings in your template. This is particularly necessary if you are referencing anything in your template that is region specific.

The canonical example would be to specify a map of EC2 AMI IDs in your template. This is because AMIs are a region-specific resource, so a reference to a valid Amazon Machine Image (AMI) ID in one region will be invalid in another.

Mappings look like this:

Mappings:
RegionMap:
us-east-1:
AMIID: ami-9be6f38c
ap-southeast-2:
AMIID: ami-28cff44b
主站蜘蛛池模板: 波密县| 东城区| 浑源县| 民勤县| 莆田市| 云安县| 六安市| 云林县| 桓台县| 高州市| 田东县| 娱乐| 富裕县| 宝清县| 巴南区| 台中县| 河津市| 伊金霍洛旗| 阳东县| 保定市| 水富县| 常宁市| 清远市| 临海市| 伊川县| 都江堰市| 家居| 昭苏县| 内江市| 奉节县| 苏州市| 邯郸市| 康定县| 彭泽县| 长阳| 吴旗县| 新干县| 芦山县| 寿阳县| 兴化市| 安陆市|