Complete a 3 Question Survey and Earn a re:Post Badge
Help improve AWS Support Official channel in re:Post and share your experience - complete a quick three-question survey to earn a re:Post badge!
【以下的问题经过翻译处理】 我有参数变量。如何在一行中引用多个引用变量? 参数:
s3Bucket: 类型:字符串 描述:------- 默认值:'...' s3Path: 类型:字符串 描述:------- 默认值:'...' libraryFile: 类型:字符串 描述:------ 默认值:'...'
S3Bucket:!Ref s3Bucket S3Key:!Ref s3Path /libraryFile S3Key 抛出验证错误。
【以下的回答经过翻译处理】 如果我理解你的问题正确的话,你需要的是 Fn::Sub。例如:
S3Bucket: !Sub ${s3Bucket}/${s3Path}/${libraryFile}
您未登录。 登录 发布回答。
一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。