title: AWS: How to specify a boolean parameter in a CloudFormation template
body: <p>I'm trying to specify a boolean parameter in a CloudFormation template so I can conditionally create resources based on a parameter passed in.</p>
  
  <p>Looking at the documentation <a href="https://aws.amazon.com/blogs/devops/using-the-new-cloudformation-parameter-types/" rel="noreferrer">here</a> and <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html" rel="noreferrer">here</a> it would appear there is a discernible lack of a boolean data type.</p>
  
  <p>What is best practice for specifying a boolean? possibly <code>Number</code> with 0 or 1 or <code>String</code> with <code>AllowedValues</code> 'true' and 'false'?</p>