1 回答
- 最新
- 投票最多
- 评论最多
0
【以下的回答经过翻译处理】 任何由最终用户定义的选项都应该被设为CloudFormation的参数。
例如:
"Parameters": {
"InstancePhp": {
"Description": "PHP Server instance type",
"Type": "String",
"MinLength": "7",
"MaxLength": "41",
"ConstraintDescription": "must contain from 7 to 41 characters"
},
}
然后,作为参考:
"InstanceType": { "Ref": "InstancePhp" },
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 4 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前