Class: Humidifier::EC2::SecurityGroupEgress
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EC2::SecurityGroupEgress resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#cidr_ip ⇒ Object
returns the CidrIp property.
-
#cidr_ip=(value) ⇒ Object
sets the CidrIp property (String).
-
#cidr_ipv6 ⇒ Object
returns the CidrIpv6 property.
-
#cidr_ipv6=(value) ⇒ Object
sets the CidrIpv6 property (String).
-
#description ⇒ Object
returns the Description property.
-
#description=(value) ⇒ Object
sets the Description property (String).
-
#destination_prefix_list_id ⇒ Object
returns the DestinationPrefixListId property.
-
#destination_prefix_list_id=(value) ⇒ Object
sets the DestinationPrefixListId property (String).
-
#destination_security_group_id ⇒ Object
returns the DestinationSecurityGroupId property.
-
#destination_security_group_id=(value) ⇒ Object
sets the DestinationSecurityGroupId property (String).
-
#from_port ⇒ Object
returns the FromPort property.
-
#from_port=(value) ⇒ Object
sets the FromPort property (Integer).
-
#group_id ⇒ Object
returns the GroupId property.
-
#group_id=(value) ⇒ Object
sets the GroupId property (String).
-
#ip_protocol ⇒ Object
returns the IpProtocol property.
-
#ip_protocol=(value) ⇒ Object
sets the IpProtocol property (String).
-
#to_port ⇒ Object
returns the ToPort property.
-
#to_port=(value) ⇒ Object
sets the ToPort property (Integer).
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_ip ⇒ Object
returns the CidrIp property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def cidr_ip properties['cidr_ip'] end |
#cidr_ip=(value) ⇒ Object
sets the CidrIp property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def cidr_ip=(value) update_property('cidr_ip', value) end |
#cidr_ipv6 ⇒ Object
returns the CidrIpv6 property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def cidr_ipv6 properties['cidr_ipv6'] end |
#cidr_ipv6=(value) ⇒ Object
sets the CidrIpv6 property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def cidr_ipv6=(value) update_property('cidr_ipv6', value) end |
#description ⇒ Object
returns the Description property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def description properties['description'] end |
#description=(value) ⇒ Object
sets the Description property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def description=(value) update_property('description', value) end |
#destination_prefix_list_id ⇒ Object
returns the DestinationPrefixListId property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def destination_prefix_list_id properties['destination_prefix_list_id'] end |
#destination_prefix_list_id=(value) ⇒ Object
sets the DestinationPrefixListId property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def destination_prefix_list_id=(value) update_property('destination_prefix_list_id', value) end |
#destination_security_group_id ⇒ Object
returns the DestinationSecurityGroupId property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def destination_security_group_id properties['destination_security_group_id'] end |
#destination_security_group_id=(value) ⇒ Object
sets the DestinationSecurityGroupId property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def destination_security_group_id=(value) update_property('destination_security_group_id', value) end |
#from_port ⇒ Object
returns the FromPort property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def from_port properties['from_port'] end |
#from_port=(value) ⇒ Object
sets the FromPort property (Integer)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def from_port=(value) update_property('from_port', value) end |
#group_id ⇒ Object
returns the GroupId property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def group_id properties['group_id'] end |
#group_id=(value) ⇒ Object
sets the GroupId property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def group_id=(value) update_property('group_id', value) end |
#ip_protocol ⇒ Object
returns the IpProtocol property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def ip_protocol properties['ip_protocol'] end |
#ip_protocol=(value) ⇒ Object
sets the IpProtocol property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def ip_protocol=(value) update_property('ip_protocol', value) end |
#to_port ⇒ Object
returns the ToPort property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def to_port properties['to_port'] end |
#to_port=(value) ⇒ Object
sets the ToPort property (Integer)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def to_port=(value) update_property('to_port', value) end |