Class: Aws::EC2::Types::PortRange

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Describes a range of ports.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fromInteger

The first port in the range.

Returns:

  • (Integer)


57817
57818
57819
57820
57821
57822
# File 'lib/aws-sdk-ec2/types.rb', line 57817

class PortRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end

#toInteger

The last port in the range.

Returns:

  • (Integer)


57817
57818
57819
57820
57821
57822
# File 'lib/aws-sdk-ec2/types.rb', line 57817

class PortRange < Struct.new(
  :from,
  :to)
  SENSITIVE = []
  include Aws::Structure
end