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

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
主站蜘蛛池模板: 葫芦岛市| 雷山县| 观塘区| 云林县| 游戏| 茶陵县| 潢川县| 巴彦县| 马公市| 弋阳县| 深泽县| 灵川县| 江源县| 新营市| 台东市| 句容市| 吴堡县| 辽阳市| 乃东县| 肃宁县| 晋江市| 郑州市| 高要市| 铜川市| 西贡区| 秦安县| 襄汾县| 金坛市| 泰顺县| 赤水市| 银川市| 小金县| 曲靖市| 三亚市| 古田县| 威海市| 井冈山市| 海林市| 孟村| 会泽县| 天台县|