class Ufo::Cfn::Stack::Builder class Parameters < Base def build yaml =<<~EOL Vpc: Description: Existing vpc id Type: AWS::EC2::VPC::Id ElbSubnets: Description: Existing subnet ids for ELB Type: List EcsSubnets: Description: Existing subnet ids for ECS Type: List ElbTargetGroup: Description: Existing target group Type: String Default: '' CreateElb: Description: Create elb Type: String Default: true EcsDesiredCount: Description: Ecs desired count Type: String Default: '' EcsSchedulingStrategy: Description: The scheduling strategy to use for the service Type: String Default: REPLICA EOL YAML.load(yaml).deep_symbolize_keys end end end