Class: Ufo::Stack::Builder::Parameters

Inherits:
Base
  • Object
show all
Defined in:
lib/ufo/stack/builder/parameters.rb

Instance Method Summary collapse

Methods inherited from Base

build, #copy_instance_variables, #initialize, #managed_security_group, #managed_security_groups?, #security_groups

Methods included from Ufo::Settings

#cfn, #network, #settings

Constructor Details

This class inherits a constructor from Ufo::Stack::Builder::Base

Instance Method Details

#buildObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/ufo/stack/builder/parameters.rb', line 3

def build
  {
    "Vpc": {
      "Description": "Existing vpc id",
      "Type": "AWS::EC2::VPC::Id"
    },
    "ElbSubnets": {
      "Description": "Existing subnet ids for ELB",
      "Type": "List<AWS::EC2::Subnet::Id>"
    },
    "EcsSubnets": {
      "Description": "Existing subnet ids for ECS",
      "Type": "List<AWS::EC2::Subnet::Id>"
    },
    "ElbTargetGroup": {
      "Description": "Existing target group",
      "Type": "String",
      "Default": ""
    },
    "CreateElb": {
      "Description": "Create elb",
      "Type": "String",
      "Default": true
    },
    "EcsDesiredCount": {
      "Description": "Ecs desired count",
      "Type": "String",
      "Default": 1
    },
    "ElbEipIds": {
      "Description": "ELB EIP Allocation ids to use for network load balancer",
      "Type": "String",
      "Default": ""
    },
    "EcsSchedulingStrategy": {
      "Description": "The scheduling strategy to use for the service",
      "Type": "String",
      "Default": "REPLICA"
    }
  }
end