我正在通过 Auto Scaling 组为 ecs 集群创建 cloudformation。在 Auto Scaling 组的启动配置中,我希望可以选择指定 ECS 优化的 AMI Id。现在我有以下参数:
"AutoScalingGroupImageId": {
"Default" : "/aws/service/ami-windows-latest/Windows_Server-2016-English-Full-SQL_2017_Standard",
"Description" : "The AMI Id to be specified for the ASG",
"Type": "AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>"
}
它需要类似于List<AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>>
我可以从中选择所需 Windows 服务器的 AMI Id。