Parameters:
arn:
Type:String
Description: Add comp arn as comma delimited string
Resources:
Type: AWS::ImageBuilder::ImageRecipe
Properties:
BlockDeviceMappings:
- InstanceBlockDeviceMapping
Components:
- ComponentArn:"arn"
- ComponentArn:"arn"
Description: String
Name: String
ParentImage: String
Tags:
Key : Value
Version: String
我尝试将参数值(Arn)传递给堆栈中的ComponentArn键。问题是我需要将参数值作为逗号分隔的字符串。我不明白如何在这里拆分和添加它。
发布于 2020-05-22 05:02:14
为此,您可以使用CommaDelimitedList参数类型。
Parameters:
arn:
Type: CommaDelimitedList
Description: Add comp arn as comma delimited string
然后,您可以使用Select引用列表中的各个elemnets
https://stackoverflow.com/questions/61940080
复制相似问题