Class: Humidifier::EC2::SecurityGroupIngress
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EC2::SecurityGroupIngress 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).
-
#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).
-
#group_name ⇒ Object
returns the GroupName property.
-
#group_name=(value) ⇒ Object
sets the GroupName property (String).
-
#ip_protocol ⇒ Object
returns the IpProtocol property.
-
#ip_protocol=(value) ⇒ Object
sets the IpProtocol property (String).
-
#source_prefix_list_id ⇒ Object
returns the SourcePrefixListId property.
-
#source_prefix_list_id=(value) ⇒ Object
sets the SourcePrefixListId property (String).
-
#source_security_group_id ⇒ Object
returns the SourceSecurityGroupId property.
-
#source_security_group_id=(value) ⇒ Object
sets the SourceSecurityGroupId property (String).
-
#source_security_group_name ⇒ Object
returns the SourceSecurityGroupName property.
-
#source_security_group_name=(value) ⇒ Object
sets the SourceSecurityGroupName property (String).
-
#source_security_group_owner_id ⇒ Object
returns the SourceSecurityGroupOwnerId property.
-
#source_security_group_owner_id=(value) ⇒ Object
sets the SourceSecurityGroupOwnerId 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 |
#from_port ⇒ Object
returns the FromPort property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def from_port properties['from_port'] end |
#from_port=(value) ⇒ Object
sets the FromPort property (Integer)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def from_port=(value) update_property('from_port', value) end |
#group_id ⇒ Object
returns the GroupId property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def group_id properties['group_id'] end |
#group_id=(value) ⇒ Object
sets the GroupId property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def group_id=(value) update_property('group_id', value) end |
#group_name ⇒ Object
returns the GroupName property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def group_name properties['group_name'] end |
#group_name=(value) ⇒ Object
sets the GroupName property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def group_name=(value) update_property('group_name', value) end |
#ip_protocol ⇒ Object
returns the IpProtocol property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def ip_protocol properties['ip_protocol'] end |
#ip_protocol=(value) ⇒ Object
sets the IpProtocol property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def ip_protocol=(value) update_property('ip_protocol', value) end |
#source_prefix_list_id ⇒ Object
returns the SourcePrefixListId property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def source_prefix_list_id properties['source_prefix_list_id'] end |
#source_prefix_list_id=(value) ⇒ Object
sets the SourcePrefixListId property (String)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def source_prefix_list_id=(value) update_property('source_prefix_list_id', value) end |
#source_security_group_id ⇒ Object
returns the SourceSecurityGroupId property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def source_security_group_id properties['source_security_group_id'] end |
#source_security_group_id=(value) ⇒ Object
sets the SourceSecurityGroupId property (String)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def source_security_group_id=(value) update_property('source_security_group_id', value) end |
#source_security_group_name ⇒ Object
returns the SourceSecurityGroupName property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def source_security_group_name properties['source_security_group_name'] end |
#source_security_group_name=(value) ⇒ Object
sets the SourceSecurityGroupName property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def source_security_group_name=(value) update_property('source_security_group_name', value) end |
#source_security_group_owner_id ⇒ Object
returns the SourceSecurityGroupOwnerId property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def source_security_group_owner_id properties['source_security_group_owner_id'] end |
#source_security_group_owner_id=(value) ⇒ Object
sets the SourceSecurityGroupOwnerId property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def source_security_group_owner_id=(value) update_property('source_security_group_owner_id', value) end |
#to_port ⇒ Object
returns the ToPort property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def to_port properties['to_port'] end |
#to_port=(value) ⇒ Object
sets the ToPort property (Integer)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def to_port=(value) update_property('to_port', value) end |