Class: Aws::SecurityHub::Types::PortRangeFromTo

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

Overview

A range of ports.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fromInteger

The first port in the port range.

Returns:

  • (Integer)


27731
27732
27733
27734
27735
27736
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27731

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

#toInteger

The last port in the port range.

Returns:

  • (Integer)


27731
27732
27733
27734
27735
27736
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27731

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