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

Class: Aws::SecurityHub::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:

{
  begin: 1,
  end: 1,
}

A range of ports.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#beginInteger

The first port in the port range.

Returns:

  • (Integer)

    The first port in the port range.

#endInteger

The last port in the port range.

Returns:

  • (Integer)

    The last port in the port range.