Class: Humidifier::ECS::TaskDefinition

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

Overview

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

#container_definitionsObject

returns the ContainerDefinitions property



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

def container_definitions
  properties['container_definitions']
end

#container_definitions=(value) ⇒ Object

sets the ContainerDefinitions property (List)



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

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

#cpuObject

returns the Cpu property



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

def cpu
  properties['cpu']
end

#cpu=(value) ⇒ Object

sets the Cpu property (String)



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

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

#ephemeral_storageObject

returns the EphemeralStorage property



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

def ephemeral_storage
  properties['ephemeral_storage']
end

#ephemeral_storage=(value) ⇒ Object

sets the EphemeralStorage property (Structure)



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

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

#execution_role_arnObject

returns the ExecutionRoleArn property



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

def execution_role_arn
  properties['execution_role_arn']
end

#execution_role_arn=(value) ⇒ Object

sets the ExecutionRoleArn property (String)



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

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

#familyObject

returns the Family property



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

def family
  properties['family']
end

#family=(value) ⇒ Object

sets the Family property (String)



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

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

#inference_acceleratorsObject

returns the InferenceAccelerators property



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

def inference_accelerators
  properties['inference_accelerators']
end

#inference_accelerators=(value) ⇒ Object

sets the InferenceAccelerators property (List)



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

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

#ipc_modeObject

returns the IpcMode property



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

def ipc_mode
  properties['ipc_mode']
end

#ipc_mode=(value) ⇒ Object

sets the IpcMode property (String)



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

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

#memoryObject

returns the Memory property



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

def memory
  properties['memory']
end

#memory=(value) ⇒ Object

sets the Memory property (String)



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

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

#network_modeObject

returns the NetworkMode property



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

def network_mode
  properties['network_mode']
end

#network_mode=(value) ⇒ Object

sets the NetworkMode property (String)



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

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

#pid_modeObject

returns the PidMode property



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

def pid_mode
  properties['pid_mode']
end

#pid_mode=(value) ⇒ Object

sets the PidMode property (String)



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

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

#placement_constraintsObject

returns the PlacementConstraints property



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

def placement_constraints
  properties['placement_constraints']
end

#placement_constraints=(value) ⇒ Object

sets the PlacementConstraints property (List)



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

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

#proxy_configurationObject

returns the ProxyConfiguration property



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

def proxy_configuration
  properties['proxy_configuration']
end

#proxy_configuration=(value) ⇒ Object

sets the ProxyConfiguration property (Structure)



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

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

#requires_compatibilitiesObject

returns the RequiresCompatibilities property



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

def requires_compatibilities
  properties['requires_compatibilities']
end

#requires_compatibilities=(value) ⇒ Object

sets the RequiresCompatibilities property (List)



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

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

#runtime_platformObject

returns the RuntimePlatform property



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

def runtime_platform
  properties['runtime_platform']
end

#runtime_platform=(value) ⇒ Object

sets the RuntimePlatform property (Structure)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#task_role_arnObject

returns the TaskRoleArn property



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

def task_role_arn
  properties['task_role_arn']
end

#task_role_arn=(value) ⇒ Object

sets the TaskRoleArn property (String)



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

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

#volumesObject

returns the Volumes property



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

def volumes
  properties['volumes']
end

#volumes=(value) ⇒ Object

sets the Volumes property (List)



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

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