Class: Humidifier::EMR::InstanceGroupConfig

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

Overview

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

#auto_scaling_policyObject

returns the AutoScalingPolicy property



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

def auto_scaling_policy
  properties['auto_scaling_policy']
end

#auto_scaling_policy=(value) ⇒ Object

sets the AutoScalingPolicy property (Structure)



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

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

#bid_priceObject

returns the BidPrice property



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

def bid_price
  properties['bid_price']
end

#bid_price=(value) ⇒ Object

sets the BidPrice property (String)



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

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

#configurationsObject

returns the Configurations property



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

def configurations
  properties['configurations']
end

#configurations=(value) ⇒ Object

sets the Configurations property (List)



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

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

#custom_ami_idObject

returns the CustomAmiId property



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

def custom_ami_id
  properties['custom_ami_id']
end

#custom_ami_id=(value) ⇒ Object

sets the CustomAmiId property (String)



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

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

#ebs_configurationObject

returns the EbsConfiguration property



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

def ebs_configuration
  properties['ebs_configuration']
end

#ebs_configuration=(value) ⇒ Object

sets the EbsConfiguration property (Structure)



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

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

#instance_countObject

returns the InstanceCount property



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

def instance_count
  properties['instance_count']
end

#instance_count=(value) ⇒ Object

sets the InstanceCount property (Integer)



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

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

#instance_roleObject

returns the InstanceRole property



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

def instance_role
  properties['instance_role']
end

#instance_role=(value) ⇒ Object

sets the InstanceRole property (String)



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

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

#instance_typeObject

returns the InstanceType property



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

def instance_type
  properties['instance_type']
end

#instance_type=(value) ⇒ Object

sets the InstanceType property (String)



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

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

#job_flow_idObject

returns the JobFlowId property



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

def job_flow_id
  properties['job_flow_id']
end

#job_flow_id=(value) ⇒ Object

sets the JobFlowId property (String)



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

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

#marketObject

returns the Market property



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

def market
  properties['market']
end

#market=(value) ⇒ Object

sets the Market property (String)



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

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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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