How to validate AWS CloudFormation Parameters