Class: Aws::SecurityHub::Types::PortRange

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass PortRange data as a hash:

{
  begin: 1,
  end: 1,
}

A range of ports.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#beginInteger

The first port in the port range.

Returns:

  • (Integer)


29721
29722
29723
29724
29725
29726
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29721

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

#endInteger

The last port in the port range.

Returns:

  • (Integer)


29721
29722
29723
29724
29725
29726
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 29721

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