Class: Humidifier::ECS::Service

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

Overview

A dynamically-defined class that represents an AWS::ECS::Service 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

#capacity_provider_strategyObject

returns the CapacityProviderStrategy property



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

def capacity_provider_strategy
  properties['capacity_provider_strategy']
end

#capacity_provider_strategy=(value) ⇒ Object

sets the CapacityProviderStrategy property (List)



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

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

#clusterObject

returns the Cluster property



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

def cluster
  properties['cluster']
end

#cluster=(value) ⇒ Object

sets the Cluster property (String)



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

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

#deployment_configurationObject

returns the DeploymentConfiguration property



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

def deployment_configuration
  properties['deployment_configuration']
end

#deployment_configuration=(value) ⇒ Object

sets the DeploymentConfiguration property (Structure)



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

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

#deployment_controllerObject

returns the DeploymentController property



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

def deployment_controller
  properties['deployment_controller']
end

#deployment_controller=(value) ⇒ Object

sets the DeploymentController property (Structure)



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

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

#desired_countObject

returns the DesiredCount property



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

def desired_count
  properties['desired_count']
end

#desired_count=(value) ⇒ Object

sets the DesiredCount property (Integer)



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

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

#enable_ecs_managed_tagsObject

returns the EnableECSManagedTags property



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

def enable_ecs_managed_tags
  properties['enable_ecs_managed_tags']
end

#enable_ecs_managed_tags=(value) ⇒ Object

sets the EnableECSManagedTags property (Boolean)



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

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

#enable_execute_commandObject

returns the EnableExecuteCommand property



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

def enable_execute_command
  properties['enable_execute_command']
end

#enable_execute_command=(value) ⇒ Object

sets the EnableExecuteCommand property (Boolean)



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

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

#health_check_grace_period_secondsObject

returns the HealthCheckGracePeriodSeconds property



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

def health_check_grace_period_seconds
  properties['health_check_grace_period_seconds']
end

#health_check_grace_period_seconds=(value) ⇒ Object

sets the HealthCheckGracePeriodSeconds property (Integer)



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

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

#launch_typeObject

returns the LaunchType property



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

def launch_type
  properties['launch_type']
end

#launch_type=(value) ⇒ Object

sets the LaunchType property (String)



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

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

#load_balancersObject

returns the LoadBalancers property



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

def load_balancers
  properties['load_balancers']
end

#load_balancers=(value) ⇒ Object

sets the LoadBalancers property (List)



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

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

#network_configurationObject

returns the NetworkConfiguration property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def network_configuration
  properties['network_configuration']
end

#network_configuration=(value) ⇒ Object

sets the NetworkConfiguration property (Structure)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

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

#placement_constraintsObject

returns the PlacementConstraints property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def placement_constraints
  properties['placement_constraints']
end

#placement_constraints=(value) ⇒ Object

sets the PlacementConstraints property (List)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

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

#placement_strategiesObject

returns the PlacementStrategies property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def placement_strategies
  properties['placement_strategies']
end

#placement_strategies=(value) ⇒ Object

sets the PlacementStrategies property (List)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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

#platform_versionObject

returns the PlatformVersion property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def platform_version
  properties['platform_version']
end

#platform_version=(value) ⇒ Object

sets the PlatformVersion property (String)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

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

#propagate_tagsObject

returns the PropagateTags property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def propagate_tags
  properties['propagate_tags']
end

#propagate_tags=(value) ⇒ Object

sets the PropagateTags property (String)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

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

#roleObject

returns the Role property



160
161
162
# File 'lib/humidifier/magic.rb', line 160

def role
  properties['role']
end

#role=(value) ⇒ Object

sets the Role property (String)



165
166
167
# File 'lib/humidifier/magic.rb', line 165

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

#scheduling_strategyObject

returns the SchedulingStrategy property



170
171
172
# File 'lib/humidifier/magic.rb', line 170

def scheduling_strategy
  properties['scheduling_strategy']
end

#scheduling_strategy=(value) ⇒ Object

sets the SchedulingStrategy property (String)



175
176
177
# File 'lib/humidifier/magic.rb', line 175

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

#service_nameObject

returns the ServiceName property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def service_name
  properties['service_name']
end

#service_name=(value) ⇒ Object

sets the ServiceName property (String)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

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

#service_registriesObject

returns the ServiceRegistries property



190
191
192
# File 'lib/humidifier/magic.rb', line 190

def service_registries
  properties['service_registries']
end

#service_registries=(value) ⇒ Object

sets the ServiceRegistries property (List)



195
196
197
# File 'lib/humidifier/magic.rb', line 195

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

#tagsObject

returns the Tags property



200
201
202
# File 'lib/humidifier/magic.rb', line 200

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



205
206
207
# File 'lib/humidifier/magic.rb', line 205

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

#task_definitionObject

returns the TaskDefinition property



210
211
212
# File 'lib/humidifier/magic.rb', line 210

def task_definition
  properties['task_definition']
end

#task_definition=(value) ⇒ Object

sets the TaskDefinition property (String)



215
216
217
# File 'lib/humidifier/magic.rb', line 215

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