CloudFormation supports these parameter types:
Basic Types:
String
: Text valuesNumber
: Numeric values CommaDelimitedList
: List of values separated by commasAWS::EC2::KeyPair::KeyName
: EC2 Key Pair namesAWS::EC2::SecurityGroup::Id
: Security Group IDsAWS::EC2::Subnet::Id
: Subnet IDsAWS::EC2::VPC::Id
: VPC IDsAWS::Route53::HostedZone::Id
: Route 53 Hosted Zone IDsList<Number>
: List of numbersList<AWS::EC2::Subnet::Id>
: List of subnet IDsParameters:
Environment:
Type: String
AllowedValues: [dev, staging, production]
Default: dev
SubnetIds:
Type: List<AWS::EC2::Subnet::Id>
Description: Subnets for load balancer
InstanceCount:
Type: Number
MinValue: 1
MaxValue: 10
Default: 2