Class: Humidifier::OpsWorks::Stack

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

Overview

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

#agent_versionObject

returns the AgentVersion property



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

def agent_version
  properties['agent_version']
end

#agent_version=(value) ⇒ Object

sets the AgentVersion property (String)



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

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

#attributesObject

returns the Attributes property



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

def attributes
  properties['attributes']
end

#attributes=(value) ⇒ Object

sets the Attributes property (Map)



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

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

#chef_configurationObject

returns the ChefConfiguration property



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

def chef_configuration
  properties['chef_configuration']
end

#chef_configuration=(value) ⇒ Object

sets the ChefConfiguration property (Structure)



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

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

#clone_app_idsObject

returns the CloneAppIds property



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

def clone_app_ids
  properties['clone_app_ids']
end

#clone_app_ids=(value) ⇒ Object

sets the CloneAppIds property (List)



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

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

#clone_permissionsObject

returns the ClonePermissions property



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

def clone_permissions
  properties['clone_permissions']
end

#clone_permissions=(value) ⇒ Object

sets the ClonePermissions property (Boolean)



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

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

#configuration_managerObject

returns the ConfigurationManager property



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

def configuration_manager
  properties['configuration_manager']
end

#configuration_manager=(value) ⇒ Object

sets the ConfigurationManager property (Structure)



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

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

#custom_cookbooks_sourceObject

returns the CustomCookbooksSource property



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

def custom_cookbooks_source
  properties['custom_cookbooks_source']
end

#custom_cookbooks_source=(value) ⇒ Object

sets the CustomCookbooksSource property (Structure)



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

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

#custom_jsonObject

returns the CustomJson property



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

def custom_json
  properties['custom_json']
end

#custom_json=(value) ⇒ Object

sets the CustomJson property (Json)



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

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

#default_availability_zoneObject

returns the DefaultAvailabilityZone property



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

def default_availability_zone
  properties['default_availability_zone']
end

#default_availability_zone=(value) ⇒ Object

sets the DefaultAvailabilityZone property (String)



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

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

#default_instance_profile_arnObject

returns the DefaultInstanceProfileArn property



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

def default_instance_profile_arn
  properties['default_instance_profile_arn']
end

#default_instance_profile_arn=(value) ⇒ Object

sets the DefaultInstanceProfileArn property (String)



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

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

#default_osObject

returns the DefaultOs property



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

def default_os
  properties['default_os']
end

#default_os=(value) ⇒ Object

sets the DefaultOs property (String)



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

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

#default_root_device_typeObject

returns the DefaultRootDeviceType property



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

def default_root_device_type
  properties['default_root_device_type']
end

#default_root_device_type=(value) ⇒ Object

sets the DefaultRootDeviceType property (String)



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

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

#default_ssh_key_nameObject

returns the DefaultSshKeyName property



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

def default_ssh_key_name
  properties['default_ssh_key_name']
end

#default_ssh_key_name=(value) ⇒ Object

sets the DefaultSshKeyName property (String)



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

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

#default_subnet_idObject

returns the DefaultSubnetId property



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

def default_subnet_id
  properties['default_subnet_id']
end

#default_subnet_id=(value) ⇒ Object

sets the DefaultSubnetId property (String)



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

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

#ecs_cluster_arnObject

returns the EcsClusterArn property



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

def ecs_cluster_arn
  properties['ecs_cluster_arn']
end

#ecs_cluster_arn=(value) ⇒ Object

sets the EcsClusterArn property (String)



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

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

#elastic_ipsObject

returns the ElasticIps property



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

def elastic_ips
  properties['elastic_ips']
end

#elastic_ips=(value) ⇒ Object

sets the ElasticIps property (List)



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

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

#hostname_themeObject

returns the HostnameTheme property



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

def hostname_theme
  properties['hostname_theme']
end

#hostname_theme=(value) ⇒ Object

sets the HostnameTheme property (String)



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

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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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

#rds_db_instancesObject

returns the RdsDbInstances property



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

def rds_db_instances
  properties['rds_db_instances']
end

#rds_db_instances=(value) ⇒ Object

sets the RdsDbInstances property (List)



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

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

#service_role_arnObject

returns the ServiceRoleArn property



200
201
202
# File 'lib/humidifier/magic.rb', line 200

def service_role_arn
  properties['service_role_arn']
end

#service_role_arn=(value) ⇒ Object

sets the ServiceRoleArn property (String)



205
206
207
# File 'lib/humidifier/magic.rb', line 205

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

#source_stack_idObject

returns the SourceStackId property



210
211
212
# File 'lib/humidifier/magic.rb', line 210

def source_stack_id
  properties['source_stack_id']
end

#source_stack_id=(value) ⇒ Object

sets the SourceStackId property (String)



215
216
217
# File 'lib/humidifier/magic.rb', line 215

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

#tagsObject

returns the Tags property



220
221
222
# File 'lib/humidifier/magic.rb', line 220

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



225
226
227
# File 'lib/humidifier/magic.rb', line 225

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

#use_custom_cookbooksObject

returns the UseCustomCookbooks property



230
231
232
# File 'lib/humidifier/magic.rb', line 230

def use_custom_cookbooks
  properties['use_custom_cookbooks']
end

#use_custom_cookbooks=(value) ⇒ Object

sets the UseCustomCookbooks property (Boolean)



235
236
237
# File 'lib/humidifier/magic.rb', line 235

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

#use_opsworks_security_groupsObject

returns the UseOpsworksSecurityGroups property



240
241
242
# File 'lib/humidifier/magic.rb', line 240

def use_opsworks_security_groups
  properties['use_opsworks_security_groups']
end

#use_opsworks_security_groups=(value) ⇒ Object

sets the UseOpsworksSecurityGroups property (Boolean)



245
246
247
# File 'lib/humidifier/magic.rb', line 245

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

#vpc_idObject

returns the VpcId property



250
251
252
# File 'lib/humidifier/magic.rb', line 250

def vpc_id
  properties['vpc_id']
end

#vpc_id=(value) ⇒ Object

sets the VpcId property (String)



255
256
257
# File 'lib/humidifier/magic.rb', line 255

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