Class: Humidifier::FMS::Policy
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::FMS::Policy resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#delete_all_policy_resources ⇒ Object
returns the DeleteAllPolicyResources property.
-
#delete_all_policy_resources=(value) ⇒ Object
sets the DeleteAllPolicyResources property (Boolean).
-
#exclude_map ⇒ Object
returns the ExcludeMap property.
-
#exclude_map=(value) ⇒ Object
sets the ExcludeMap property (Structure).
-
#exclude_resource_tags ⇒ Object
returns the ExcludeResourceTags property.
-
#exclude_resource_tags=(value) ⇒ Object
sets the ExcludeResourceTags property (Boolean).
-
#include_map ⇒ Object
returns the IncludeMap property.
-
#include_map=(value) ⇒ Object
sets the IncludeMap property (Structure).
-
#policy_name ⇒ Object
returns the PolicyName property.
-
#policy_name=(value) ⇒ Object
sets the PolicyName property (String).
-
#remediation_enabled ⇒ Object
returns the RemediationEnabled property.
-
#remediation_enabled=(value) ⇒ Object
sets the RemediationEnabled property (Boolean).
-
#resource_tags ⇒ Object
returns the ResourceTags property.
-
#resource_tags=(value) ⇒ Object
sets the ResourceTags property (List).
-
#resource_type ⇒ Object
returns the ResourceType property.
-
#resource_type=(value) ⇒ Object
sets the ResourceType property (String).
-
#resource_type_list ⇒ Object
returns the ResourceTypeList property.
-
#resource_type_list=(value) ⇒ Object
sets the ResourceTypeList property (List).
-
#resources_clean_up ⇒ Object
returns the ResourcesCleanUp property.
-
#resources_clean_up=(value) ⇒ Object
sets the ResourcesCleanUp property (Boolean).
-
#security_service_policy_data ⇒ Object
returns the SecurityServicePolicyData property.
-
#security_service_policy_data=(value) ⇒ Object
sets the SecurityServicePolicyData property (Json).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
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
#delete_all_policy_resources ⇒ Object
returns the DeleteAllPolicyResources property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def delete_all_policy_resources properties['delete_all_policy_resources'] end |
#delete_all_policy_resources=(value) ⇒ Object
sets the DeleteAllPolicyResources property (Boolean)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def delete_all_policy_resources=(value) update_property('delete_all_policy_resources', value) end |
#exclude_map ⇒ Object
returns the ExcludeMap property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def exclude_map properties['exclude_map'] end |
#exclude_map=(value) ⇒ Object
sets the ExcludeMap property (Structure)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def exclude_map=(value) update_property('exclude_map', value) end |
#exclude_resource_tags ⇒ Object
returns the ExcludeResourceTags property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def properties['exclude_resource_tags'] end |
#exclude_resource_tags=(value) ⇒ Object
sets the ExcludeResourceTags property (Boolean)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def (value) update_property('exclude_resource_tags', value) end |
#include_map ⇒ Object
returns the IncludeMap property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def include_map properties['include_map'] end |
#include_map=(value) ⇒ Object
sets the IncludeMap property (Structure)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def include_map=(value) update_property('include_map', value) end |
#policy_name ⇒ Object
returns the PolicyName property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def policy_name properties['policy_name'] end |
#policy_name=(value) ⇒ Object
sets the PolicyName property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def policy_name=(value) update_property('policy_name', value) end |
#remediation_enabled ⇒ Object
returns the RemediationEnabled property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def remediation_enabled properties['remediation_enabled'] end |
#remediation_enabled=(value) ⇒ Object
sets the RemediationEnabled property (Boolean)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def remediation_enabled=(value) update_property('remediation_enabled', value) end |
#resource_tags ⇒ Object
returns the ResourceTags property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def properties['resource_tags'] end |
#resource_tags=(value) ⇒ Object
sets the ResourceTags property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def (value) update_property('resource_tags', value) end |
#resource_type ⇒ Object
returns the ResourceType property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def resource_type properties['resource_type'] end |
#resource_type=(value) ⇒ Object
sets the ResourceType property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def resource_type=(value) update_property('resource_type', value) end |
#resource_type_list ⇒ Object
returns the ResourceTypeList property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def resource_type_list properties['resource_type_list'] end |
#resource_type_list=(value) ⇒ Object
sets the ResourceTypeList property (List)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def resource_type_list=(value) update_property('resource_type_list', value) end |
#resources_clean_up ⇒ Object
returns the ResourcesCleanUp property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def resources_clean_up properties['resources_clean_up'] end |
#resources_clean_up=(value) ⇒ Object
sets the ResourcesCleanUp property (Boolean)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def resources_clean_up=(value) update_property('resources_clean_up', value) end |
#security_service_policy_data ⇒ Object
returns the SecurityServicePolicyData property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def security_service_policy_data properties['security_service_policy_data'] end |
#security_service_policy_data=(value) ⇒ Object
sets the SecurityServicePolicyData property (Json)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def security_service_policy_data=(value) update_property('security_service_policy_data', value) end |
#tags ⇒ Object
returns the Tags property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def (value) update_property('tags', value) end |