Class: Humidifier::OpsWorks::Layer

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

Overview

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

#attributesObject

returns the Attributes property



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

def attributes
  properties['attributes']
end

#attributes=(value) ⇒ Object

sets the Attributes property (Map)



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

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

#auto_assign_elastic_ipsObject

returns the AutoAssignElasticIps property



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

def auto_assign_elastic_ips
  properties['auto_assign_elastic_ips']
end

#auto_assign_elastic_ips=(value) ⇒ Object

sets the AutoAssignElasticIps property (Boolean)



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

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

#auto_assign_public_ipsObject

returns the AutoAssignPublicIps property



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

def auto_assign_public_ips
  properties['auto_assign_public_ips']
end

#auto_assign_public_ips=(value) ⇒ Object

sets the AutoAssignPublicIps property (Boolean)



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

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

#custom_instance_profile_arnObject

returns the CustomInstanceProfileArn property



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

def custom_instance_profile_arn
  properties['custom_instance_profile_arn']
end

#custom_instance_profile_arn=(value) ⇒ Object

sets the CustomInstanceProfileArn property (String)



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

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

#custom_jsonObject

returns the CustomJson property



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

def custom_json
  properties['custom_json']
end

#custom_json=(value) ⇒ Object

sets the CustomJson property (Json)



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

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

#custom_recipesObject

returns the CustomRecipes property



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

def custom_recipes
  properties['custom_recipes']
end

#custom_recipes=(value) ⇒ Object

sets the CustomRecipes property (Structure)



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

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

#custom_security_group_idsObject

returns the CustomSecurityGroupIds property



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

def custom_security_group_ids
  properties['custom_security_group_ids']
end

#custom_security_group_ids=(value) ⇒ Object

sets the CustomSecurityGroupIds property (List)



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

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

#enable_auto_healingObject

returns the EnableAutoHealing property



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

def enable_auto_healing
  properties['enable_auto_healing']
end

#enable_auto_healing=(value) ⇒ Object

sets the EnableAutoHealing property (Boolean)



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

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

#install_updates_on_bootObject

returns the InstallUpdatesOnBoot property



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

def install_updates_on_boot
  properties['install_updates_on_boot']
end

#install_updates_on_boot=(value) ⇒ Object

sets the InstallUpdatesOnBoot property (Boolean)



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

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

#lifecycle_event_configurationObject

returns the LifecycleEventConfiguration property



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

def lifecycle_event_configuration
  properties['lifecycle_event_configuration']
end

#lifecycle_event_configuration=(value) ⇒ Object

sets the LifecycleEventConfiguration property (Structure)



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

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

#load_based_auto_scalingObject

returns the LoadBasedAutoScaling property



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

def load_based_auto_scaling
  properties['load_based_auto_scaling']
end

#load_based_auto_scaling=(value) ⇒ Object

sets the LoadBasedAutoScaling property (Structure)



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

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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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

#packagesObject

returns the Packages property



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

def packages
  properties['packages']
end

#packages=(value) ⇒ Object

sets the Packages property (List)



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

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

#shortnameObject

returns the Shortname property



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

def shortname
  properties['shortname']
end

#shortname=(value) ⇒ Object

sets the Shortname property (String)



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

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

#stack_idObject

returns the StackId property



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

def stack_id
  properties['stack_id']
end

#stack_id=(value) ⇒ Object

sets the StackId property (String)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#typeObject

returns the Type property



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

def type
  properties['type']
end

#type=(value) ⇒ Object

sets the Type property (String)



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

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

#use_ebs_optimized_instancesObject

returns the UseEbsOptimizedInstances property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def use_ebs_optimized_instances
  properties['use_ebs_optimized_instances']
end

#use_ebs_optimized_instances=(value) ⇒ Object

sets the UseEbsOptimizedInstances property (Boolean)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

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

#volume_configurationsObject

returns the VolumeConfigurations property



190
191
192
# File 'lib/humidifier/magic.rb', line 190

def volume_configurations
  properties['volume_configurations']
end

#volume_configurations=(value) ⇒ Object

sets the VolumeConfigurations property (List)



195
196
197
# File 'lib/humidifier/magic.rb', line 195

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