Class: Humidifier::SSM::PatchBaseline

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

Overview

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

#approval_rulesObject

returns the ApprovalRules property



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

def approval_rules
  properties['approval_rules']
end

#approval_rules=(value) ⇒ Object

sets the ApprovalRules property (Structure)



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

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

#approved_patchesObject

returns the ApprovedPatches property



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

def approved_patches
  properties['approved_patches']
end

#approved_patches=(value) ⇒ Object

sets the ApprovedPatches property (List)



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

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

#approved_patches_compliance_levelObject

returns the ApprovedPatchesComplianceLevel property



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

def approved_patches_compliance_level
  properties['approved_patches_compliance_level']
end

#approved_patches_compliance_level=(value) ⇒ Object

sets the ApprovedPatchesComplianceLevel property (String)



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

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

#approved_patches_enable_non_securityObject

returns the ApprovedPatchesEnableNonSecurity property



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

def approved_patches_enable_non_security
  properties['approved_patches_enable_non_security']
end

#approved_patches_enable_non_security=(value) ⇒ Object

sets the ApprovedPatchesEnableNonSecurity property (Boolean)



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

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

#descriptionObject

returns the Description property



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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



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

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

#global_filtersObject

returns the GlobalFilters property



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

def global_filters
  properties['global_filters']
end

#global_filters=(value) ⇒ Object

sets the GlobalFilters property (Structure)



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

def global_filters=(value)
  update_property('global_filters', 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

#operating_systemObject

returns the OperatingSystem property



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

def operating_system
  properties['operating_system']
end

#operating_system=(value) ⇒ Object

sets the OperatingSystem property (String)



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

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

#patch_groupsObject

returns the PatchGroups property



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

def patch_groups
  properties['patch_groups']
end

#patch_groups=(value) ⇒ Object

sets the PatchGroups property (List)



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

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

#rejected_patchesObject

returns the RejectedPatches property



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

def rejected_patches
  properties['rejected_patches']
end

#rejected_patches=(value) ⇒ Object

sets the RejectedPatches property (List)



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

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

#rejected_patches_actionObject

returns the RejectedPatchesAction property



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

def rejected_patches_action
  properties['rejected_patches_action']
end

#rejected_patches_action=(value) ⇒ Object

sets the RejectedPatchesAction property (String)



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

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

#sourcesObject

returns the Sources property



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

def sources
  properties['sources']
end

#sources=(value) ⇒ Object

sets the Sources property (List)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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