This template creates a Systems Manager parameter named commands with a StringList type.

CloudFormation Template