1 回答
- 最新
- 投票最多
- 评论最多
1
Use either !Ref
or !Sub
as part of a string, example below for SSM::Association
Parameters:
MyName:
Type: String
Description: Enter your name
MyLocation:
Type: String
Description: Enter your country
Resources:
Type: AWS::SSM::Association
Properties:
Parameters:
commands:
- !Sub "name=${MyName}"
- !Sub "location=${MyLocation}"
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 个月前
- AWS 官方已更新 1 年前
I want to use the input parameters in my AWS::SSM::Association command.
updated. Can test?