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)


27568
27569
27570
27571
27572
27573
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27568

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

#toInteger

The last port in the port range.

Returns:

  • (Integer)


27568
27569
27570
27571
27572
27573
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27568

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