Class: Humidifier::SSM::Document

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

Overview

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

#attachmentsObject

returns the Attachments property



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

def attachments
  properties['attachments']
end

#attachments=(value) ⇒ Object

sets the Attachments property (List)



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

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

#contentObject

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_formatObject

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_typeObject

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

#nameObject

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

#requiresObject

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#target_typeObject

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_methodObject

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_nameObject

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