Class: Humidifier::Batch::JobDefinition

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

Overview

A dynamically-defined class that represents an AWS::Batch::JobDefinition 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_propertiesObject

returns the ContainerProperties property



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

def container_properties
  properties['container_properties']
end

#container_properties=(value) ⇒ Object

sets the ContainerProperties property (Structure)



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

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

#job_definition_nameObject

returns the JobDefinitionName property



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

def job_definition_name
  properties['job_definition_name']
end

#job_definition_name=(value) ⇒ Object

sets the JobDefinitionName property (String)



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

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

#node_propertiesObject

returns the NodeProperties property



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

def node_properties
  properties['node_properties']
end

#node_properties=(value) ⇒ Object

sets the NodeProperties property (Structure)



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

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

#parametersObject

returns the Parameters property



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

def parameters
  properties['parameters']
end

#parameters=(value) ⇒ Object

sets the Parameters property (Json)



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

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

#platform_capabilitiesObject

returns the PlatformCapabilities property



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

def platform_capabilities
  properties['platform_capabilities']
end

#platform_capabilities=(value) ⇒ Object

sets the PlatformCapabilities property (List)



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

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

#propagate_tagsObject

returns the PropagateTags property



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

def propagate_tags
  properties['propagate_tags']
end

#propagate_tags=(value) ⇒ Object

sets the PropagateTags property (Boolean)



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

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

#retry_strategyObject

returns the RetryStrategy property



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

def retry_strategy
  properties['retry_strategy']
end

#retry_strategy=(value) ⇒ Object

sets the RetryStrategy property (Structure)



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

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

#scheduling_priorityObject

returns the SchedulingPriority property



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

def scheduling_priority
  properties['scheduling_priority']
end

#scheduling_priority=(value) ⇒ Object

sets the SchedulingPriority property (Integer)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (Json)



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

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

#timeoutObject

returns the Timeout property



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

def timeout
  properties['timeout']
end

#timeout=(value) ⇒ Object

sets the Timeout property (Structure)



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

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

#typeObject

returns the Type property



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

def type
  properties['type']
end

#type=(value) ⇒ Object

sets the Type property (String)



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

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