Class: Humidifier::ECS::TaskSet

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::ECS::TaskSet resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#clusterObject

returns the Cluster property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def cluster
  properties['cluster']
end

#cluster=(value) ⇒ Object

sets the Cluster property (String)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def cluster=(value)
  update_property('cluster', value)
end

#external_idObject

returns the ExternalId property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def external_id
  properties['external_id']
end

#external_id=(value) ⇒ Object

sets the ExternalId property (String)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def external_id=(value)
  update_property('external_id', value)
end

#launch_typeObject

returns the LaunchType property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def launch_type
  properties['launch_type']
end

#launch_type=(value) ⇒ Object

sets the LaunchType property (String)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def launch_type=(value)
  update_property('launch_type', value)
end

#load_balancersObject

returns the LoadBalancers property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def load_balancers
  properties['load_balancers']
end

#load_balancers=(value) ⇒ Object

sets the LoadBalancers property (List)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def load_balancers=(value)
  update_property('load_balancers', value)
end

#network_configurationObject

returns the NetworkConfiguration property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def network_configuration
  properties['network_configuration']
end

#network_configuration=(value) ⇒ Object

sets the NetworkConfiguration property (Structure)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def network_configuration=(value)
  update_property('network_configuration', value)
end

#platform_versionObject

returns the PlatformVersion property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def platform_version
  properties['platform_version']
end

#platform_version=(value) ⇒ Object

sets the PlatformVersion property (String)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def platform_version=(value)
  update_property('platform_version', value)
end

#scaleObject

returns the Scale property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def scale
  properties['scale']
end

#scale=(value) ⇒ Object

sets the Scale property (Structure)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def scale=(value)
  update_property('scale', value)
end

#serviceObject

returns the Service property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def service
  properties['service']
end

#service=(value) ⇒ Object

sets the Service property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def service=(value)
  update_property('service', value)
end

#service_registriesObject

returns the ServiceRegistries property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def service_registries
  properties['service_registries']
end

#service_registries=(value) ⇒ Object

sets the ServiceRegistries property (List)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def service_registries=(value)
  update_property('service_registries', value)
end

#task_definitionObject

returns the TaskDefinition property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def task_definition
  properties['task_definition']
end

#task_definition=(value) ⇒ Object

sets the TaskDefinition property (String)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def task_definition=(value)
  update_property('task_definition', value)
end