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)


20876
20877
20878
20879
20880
20881
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 20876

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

#endInteger

The last port in the port range.

Returns:

  • (Integer)


20876
20877
20878
20879
20880
20881
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 20876

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