Class: Standup::EC2::SecurityGroup::IPRule

Inherits:
Struct
  • Object
show all
Defined in:
lib/standup/ec2/security_group.rb

Instance Attribute Summary collapse

Instance Attribute Details

#from_portObject

Returns the value of attribute from_port

Returns:

  • (Object)

    the current value of from_port



4
5
6
# File 'lib/standup/ec2/security_group.rb', line 4

def from_port
  @from_port
end

#ipObject

Returns the value of attribute ip

Returns:

  • (Object)

    the current value of ip



4
5
6
# File 'lib/standup/ec2/security_group.rb', line 4

def ip
  @ip
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



4
5
6
# File 'lib/standup/ec2/security_group.rb', line 4

def protocol
  @protocol
end

#to_portObject

Returns the value of attribute to_port

Returns:

  • (Object)

    the current value of to_port



4
5
6
# File 'lib/standup/ec2/security_group.rb', line 4

def to_port
  @to_port
end