1 Answer
- Newest
- Most votes
- Most comments
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}"

I want to use the input parameters in my AWS::SSM::Association command.
updated. Can test?