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}"
Relevant content
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
I want to use the input parameters in my AWS::SSM::Association command.
updated. Can test?