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)


28583
28584
28585
28586
28587
28588
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 28583

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

#toInteger

The last port in the port range.

Returns:

  • (Integer)


28583
28584
28585
28586
28587
28588
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 28583

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