You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GlobalAccelerator::Types::PortRange

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PortRange as input to an Aws::Client method, you can use a vanilla Hash:

{
  from_port: 1,
  to_port: 1,
}

A complex type for a range of ports for a listener.

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The first port in the range of ports, inclusive.

Returns:

  • (Integer)

    The first port in the range of ports, inclusive.

#to_portInteger

The last port in the range of ports, inclusive.

Returns:

  • (Integer)

    The last port in the range of ports, inclusive.