Class: Humidifier::SSM::Document
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::SSM::Document resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#attachments ⇒ Object
returns the Attachments property.
-
#attachments=(value) ⇒ Object
sets the Attachments property (List).
-
#content ⇒ Object
returns the Content property.
-
#content=(value) ⇒ Object
sets the Content property (Json).
-
#document_format ⇒ Object
returns the DocumentFormat property.
-
#document_format=(value) ⇒ Object
sets the DocumentFormat property (String).
-
#document_type ⇒ Object
returns the DocumentType property.
-
#document_type=(value) ⇒ Object
sets the DocumentType property (String).
-
#name ⇒ Object
returns the Name property.
-
#name=(value) ⇒ Object
sets the Name property (String).
-
#requires ⇒ Object
returns the Requires property.
-
#requires=(value) ⇒ Object
sets the Requires property (List).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#target_type ⇒ Object
returns the TargetType property.
-
#target_type=(value) ⇒ Object
sets the TargetType property (String).
-
#update_method ⇒ Object
returns the UpdateMethod property.
-
#update_method=(value) ⇒ Object
sets the UpdateMethod property (String).
-
#version_name ⇒ Object
returns the VersionName property.
-
#version_name=(value) ⇒ Object
sets the VersionName property (String).
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
#attachments ⇒ Object
returns the Attachments property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def properties['attachments'] end |
#attachments=(value) ⇒ Object
sets the Attachments property (List)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def (value) update_property('attachments', value) end |
#content ⇒ Object
returns the Content property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def content properties['content'] end |
#content=(value) ⇒ Object
sets the Content property (Json)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def content=(value) update_property('content', value) end |
#document_format ⇒ Object
returns the DocumentFormat property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def document_format properties['document_format'] end |
#document_format=(value) ⇒ Object
sets the DocumentFormat property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def document_format=(value) update_property('document_format', value) end |
#document_type ⇒ Object
returns the DocumentType property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def document_type properties['document_type'] end |
#document_type=(value) ⇒ Object
sets the DocumentType property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def document_type=(value) update_property('document_type', value) end |
#name ⇒ Object
returns the Name property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def name properties['name'] end |
#name=(value) ⇒ Object
sets the Name property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def name=(value) update_property('name', value) end |
#requires ⇒ Object
returns the Requires property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def requires properties['requires'] end |
#requires=(value) ⇒ Object
sets the Requires property (List)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def requires=(value) update_property('requires', value) end |
#tags ⇒ Object
returns the Tags property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def (value) update_property('tags', value) end |
#target_type ⇒ Object
returns the TargetType property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def target_type properties['target_type'] end |
#target_type=(value) ⇒ Object
sets the TargetType property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def target_type=(value) update_property('target_type', value) end |
#update_method ⇒ Object
returns the UpdateMethod property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def update_method properties['update_method'] end |
#update_method=(value) ⇒ Object
sets the UpdateMethod property (String)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def update_method=(value) update_property('update_method', value) end |
#version_name ⇒ Object
returns the VersionName property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def version_name properties['version_name'] end |
#version_name=(value) ⇒ Object
sets the VersionName property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def version_name=(value) update_property('version_name', value) end |