Class: Humidifier::ECS::Service
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::ECS::Service resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#capacity_provider_strategy ⇒ Object
returns the CapacityProviderStrategy property.
-
#capacity_provider_strategy=(value) ⇒ Object
sets the CapacityProviderStrategy property (List).
-
#cluster ⇒ Object
returns the Cluster property.
-
#cluster=(value) ⇒ Object
sets the Cluster property (String).
-
#deployment_configuration ⇒ Object
returns the DeploymentConfiguration property.
-
#deployment_configuration=(value) ⇒ Object
sets the DeploymentConfiguration property (Structure).
-
#deployment_controller ⇒ Object
returns the DeploymentController property.
-
#deployment_controller=(value) ⇒ Object
sets the DeploymentController property (Structure).
-
#desired_count ⇒ Object
returns the DesiredCount property.
-
#desired_count=(value) ⇒ Object
sets the DesiredCount property (Integer).
-
#enable_ecs_managed_tags ⇒ Object
returns the EnableECSManagedTags property.
-
#enable_ecs_managed_tags=(value) ⇒ Object
sets the EnableECSManagedTags property (Boolean).
-
#enable_execute_command ⇒ Object
returns the EnableExecuteCommand property.
-
#enable_execute_command=(value) ⇒ Object
sets the EnableExecuteCommand property (Boolean).
-
#health_check_grace_period_seconds ⇒ Object
returns the HealthCheckGracePeriodSeconds property.
-
#health_check_grace_period_seconds=(value) ⇒ Object
sets the HealthCheckGracePeriodSeconds property (Integer).
-
#launch_type ⇒ Object
returns the LaunchType property.
-
#launch_type=(value) ⇒ Object
sets the LaunchType property (String).
-
#load_balancers ⇒ Object
returns the LoadBalancers property.
-
#load_balancers=(value) ⇒ Object
sets the LoadBalancers property (List).
-
#network_configuration ⇒ Object
returns the NetworkConfiguration property.
-
#network_configuration=(value) ⇒ Object
sets the NetworkConfiguration property (Structure).
-
#placement_constraints ⇒ Object
returns the PlacementConstraints property.
-
#placement_constraints=(value) ⇒ Object
sets the PlacementConstraints property (List).
-
#placement_strategies ⇒ Object
returns the PlacementStrategies property.
-
#placement_strategies=(value) ⇒ Object
sets the PlacementStrategies property (List).
-
#platform_version ⇒ Object
returns the PlatformVersion property.
-
#platform_version=(value) ⇒ Object
sets the PlatformVersion property (String).
-
#propagate_tags ⇒ Object
returns the PropagateTags property.
-
#propagate_tags=(value) ⇒ Object
sets the PropagateTags property (String).
-
#role ⇒ Object
returns the Role property.
-
#role=(value) ⇒ Object
sets the Role property (String).
-
#scheduling_strategy ⇒ Object
returns the SchedulingStrategy property.
-
#scheduling_strategy=(value) ⇒ Object
sets the SchedulingStrategy property (String).
-
#service_name ⇒ Object
returns the ServiceName property.
-
#service_name=(value) ⇒ Object
sets the ServiceName property (String).
-
#service_registries ⇒ Object
returns the ServiceRegistries property.
-
#service_registries=(value) ⇒ Object
sets the ServiceRegistries property (List).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#task_definition ⇒ Object
returns the TaskDefinition property.
-
#task_definition=(value) ⇒ Object
sets the TaskDefinition property (String).
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_strategy ⇒ Object
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 |
#cluster ⇒ Object
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_configuration ⇒ Object
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_controller ⇒ Object
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_count ⇒ Object
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_tags ⇒ Object
returns the EnableECSManagedTags property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def 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 (value) update_property('enable_ecs_managed_tags', value) end |
#enable_execute_command ⇒ Object
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_seconds ⇒ Object
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_type ⇒ Object
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_balancers ⇒ Object
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_configuration ⇒ Object
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_constraints ⇒ Object
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_strategies ⇒ Object
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_version ⇒ Object
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_tags ⇒ Object
returns the PropagateTags property
150 151 152 |
# File 'lib/humidifier/magic.rb', line 150 def properties['propagate_tags'] end |
#propagate_tags=(value) ⇒ Object
sets the PropagateTags property (String)
155 156 157 |
# File 'lib/humidifier/magic.rb', line 155 def (value) update_property('propagate_tags', value) end |
#role ⇒ Object
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_strategy ⇒ Object
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_name ⇒ Object
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_registries ⇒ Object
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 |
#tags ⇒ Object
returns the Tags property
200 201 202 |
# File 'lib/humidifier/magic.rb', line 200 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
205 206 207 |
# File 'lib/humidifier/magic.rb', line 205 def (value) update_property('tags', value) end |
#task_definition ⇒ Object
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 |