Class: Humidifier::NetworkFirewall::Firewall

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

Overview

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

#delete_protectionObject

returns the DeleteProtection property



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

def delete_protection
  properties['delete_protection']
end

#delete_protection=(value) ⇒ Object

sets the DeleteProtection property (Boolean)



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

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

#descriptionObject

returns the Description property



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

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



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

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

#firewall_nameObject

returns the FirewallName property



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

def firewall_name
  properties['firewall_name']
end

#firewall_name=(value) ⇒ Object

sets the FirewallName property (String)



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

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

#firewall_policy_arnObject

returns the FirewallPolicyArn property



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

def firewall_policy_arn
  properties['firewall_policy_arn']
end

#firewall_policy_arn=(value) ⇒ Object

sets the FirewallPolicyArn property (String)



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

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

#firewall_policy_change_protectionObject

returns the FirewallPolicyChangeProtection property



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

def firewall_policy_change_protection
  properties['firewall_policy_change_protection']
end

#firewall_policy_change_protection=(value) ⇒ Object

sets the FirewallPolicyChangeProtection property (Boolean)



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

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

#subnet_change_protectionObject

returns the SubnetChangeProtection property



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

def subnet_change_protection
  properties['subnet_change_protection']
end

#subnet_change_protection=(value) ⇒ Object

sets the SubnetChangeProtection property (Boolean)



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

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

#subnet_mappingsObject

returns the SubnetMappings property



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

def subnet_mappings
  properties['subnet_mappings']
end

#subnet_mappings=(value) ⇒ Object

sets the SubnetMappings property (List)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#vpc_idObject

returns the VpcId property



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

def vpc_id
  properties['vpc_id']
end

#vpc_id=(value) ⇒ Object

sets the VpcId property (String)



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

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