Class: Humidifier::ImageBuilder::InfrastructureConfiguration

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

Overview

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

#descriptionObject

returns the Description property



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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



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

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

#instance_metadata_optionsObject

returns the InstanceMetadataOptions property



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

def 
  properties['instance_metadata_options']
end

#instance_metadata_options=(value) ⇒ Object

sets the InstanceMetadataOptions property (Structure)



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

def (value)
  update_property('instance_metadata_options', value)
end

#instance_profile_nameObject

returns the InstanceProfileName property



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

def instance_profile_name
  properties['instance_profile_name']
end

#instance_profile_name=(value) ⇒ Object

sets the InstanceProfileName property (String)



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

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

#instance_typesObject

returns the InstanceTypes property



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

def instance_types
  properties['instance_types']
end

#instance_types=(value) ⇒ Object

sets the InstanceTypes property (List)



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

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

#key_pairObject

returns the KeyPair property



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

def key_pair
  properties['key_pair']
end

#key_pair=(value) ⇒ Object

sets the KeyPair property (String)



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

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

#loggingObject

returns the Logging property



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

def logging
  properties['logging']
end

#logging=(value) ⇒ Object

sets the Logging property (Structure)



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

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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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

#resource_tagsObject

returns the ResourceTags property



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

def resource_tags
  properties['resource_tags']
end

#resource_tags=(value) ⇒ Object

sets the ResourceTags property (Map)



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

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

#security_group_idsObject

returns the SecurityGroupIds property



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

def security_group_ids
  properties['security_group_ids']
end

#security_group_ids=(value) ⇒ Object

sets the SecurityGroupIds property (List)



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

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

#sns_topic_arnObject

returns the SnsTopicArn property



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

def sns_topic_arn
  properties['sns_topic_arn']
end

#sns_topic_arn=(value) ⇒ Object

sets the SnsTopicArn property (String)



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

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

#subnet_idObject

returns the SubnetId property



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

def subnet_id
  properties['subnet_id']
end

#subnet_id=(value) ⇒ Object

sets the SubnetId property (String)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (Map)



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

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

#terminate_instance_on_failureObject

returns the TerminateInstanceOnFailure property



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

def terminate_instance_on_failure
  properties['terminate_instance_on_failure']
end

#terminate_instance_on_failure=(value) ⇒ Object

sets the TerminateInstanceOnFailure property (Boolean)



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

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