Class: Humidifier::EC2::NetworkAclEntry

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

Overview

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

#cidr_blockObject

returns the CidrBlock property



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

def cidr_block
  properties['cidr_block']
end

#cidr_block=(value) ⇒ Object

sets the CidrBlock property (String)



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

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

#egressObject

returns the Egress property



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

def egress
  properties['egress']
end

#egress=(value) ⇒ Object

sets the Egress property (Boolean)



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

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

#icmpObject

returns the Icmp property



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

def icmp
  properties['icmp']
end

#icmp=(value) ⇒ Object

sets the Icmp property (Structure)



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

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

#ipv6_cidr_blockObject

returns the Ipv6CidrBlock property



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

def ipv6_cidr_block
  properties['ipv6_cidr_block']
end

#ipv6_cidr_block=(value) ⇒ Object

sets the Ipv6CidrBlock property (String)



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

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

#network_acl_idObject

returns the NetworkAclId property



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

def network_acl_id
  properties['network_acl_id']
end

#network_acl_id=(value) ⇒ Object

sets the NetworkAclId property (String)



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

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

#port_rangeObject

returns the PortRange property



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

def port_range
  properties['port_range']
end

#port_range=(value) ⇒ Object

sets the PortRange property (Structure)



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

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

#protocolObject

returns the Protocol property



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

def protocol
  properties['protocol']
end

#protocol=(value) ⇒ Object

sets the Protocol property (Integer)



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

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

#rule_actionObject

returns the RuleAction property



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

def rule_action
  properties['rule_action']
end

#rule_action=(value) ⇒ Object

sets the RuleAction property (String)



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

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

#rule_numberObject

returns the RuleNumber property



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

def rule_number
  properties['rule_number']
end

#rule_number=(value) ⇒ Object

sets the RuleNumber property (Integer)



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

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