Class: Humidifier::Batch::ComputeEnvironment
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Batch::ComputeEnvironment resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#compute_environment_name ⇒ Object
returns the ComputeEnvironmentName property.
-
#compute_environment_name=(value) ⇒ Object
sets the ComputeEnvironmentName property (String).
-
#compute_resources ⇒ Object
returns the ComputeResources property.
-
#compute_resources=(value) ⇒ Object
sets the ComputeResources property (Structure).
-
#replace_compute_environment ⇒ Object
returns the ReplaceComputeEnvironment property.
-
#replace_compute_environment=(value) ⇒ Object
sets the ReplaceComputeEnvironment property (Boolean).
-
#service_role ⇒ Object
returns the ServiceRole property.
-
#service_role=(value) ⇒ Object
sets the ServiceRole property (String).
-
#state ⇒ Object
returns the State property.
-
#state=(value) ⇒ Object
sets the State property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (Map).
-
#type ⇒ Object
returns the Type property.
-
#type=(value) ⇒ Object
sets the Type property (String).
-
#unmanagedv_cpus ⇒ Object
returns the UnmanagedvCpus property.
-
#unmanagedv_cpus=(value) ⇒ Object
sets the UnmanagedvCpus property (Integer).
-
#update_policy ⇒ Object
returns the UpdatePolicy property.
-
#update_policy=(value) ⇒ Object
sets the UpdatePolicy property (Structure).
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
#compute_environment_name ⇒ Object
returns the ComputeEnvironmentName property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def compute_environment_name properties['compute_environment_name'] end |
#compute_environment_name=(value) ⇒ Object
sets the ComputeEnvironmentName property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def compute_environment_name=(value) update_property('compute_environment_name', value) end |
#compute_resources ⇒ Object
returns the ComputeResources property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def compute_resources properties['compute_resources'] end |
#compute_resources=(value) ⇒ Object
sets the ComputeResources property (Structure)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def compute_resources=(value) update_property('compute_resources', value) end |
#replace_compute_environment ⇒ Object
returns the ReplaceComputeEnvironment property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def replace_compute_environment properties['replace_compute_environment'] end |
#replace_compute_environment=(value) ⇒ Object
sets the ReplaceComputeEnvironment property (Boolean)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def replace_compute_environment=(value) update_property('replace_compute_environment', value) end |
#service_role ⇒ Object
returns the ServiceRole property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def service_role properties['service_role'] end |
#service_role=(value) ⇒ Object
sets the ServiceRole property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def service_role=(value) update_property('service_role', value) end |
#state ⇒ Object
returns the State property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def state properties['state'] end |
#state=(value) ⇒ Object
sets the State property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def state=(value) update_property('state', value) end |
#tags ⇒ Object
returns the Tags property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (Map)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def (value) update_property('tags', value) end |
#type ⇒ Object
returns the Type property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def type properties['type'] end |
#type=(value) ⇒ Object
sets the Type property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def type=(value) update_property('type', value) end |
#unmanagedv_cpus ⇒ Object
returns the UnmanagedvCpus property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def unmanagedv_cpus properties['unmanagedv_cpus'] end |
#unmanagedv_cpus=(value) ⇒ Object
sets the UnmanagedvCpus property (Integer)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def unmanagedv_cpus=(value) update_property('unmanagedv_cpus', value) end |
#update_policy ⇒ Object
returns the UpdatePolicy property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def update_policy properties['update_policy'] end |
#update_policy=(value) ⇒ Object
sets the UpdatePolicy property (Structure)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def update_policy=(value) update_property('update_policy', value) end |