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

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 PortRangeFromTo data as a hash:

{
  from: 1,
  to: 1,
}

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)


27790
27791
27792
27793
27794
27795
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27790

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

#toInteger

The last port in the port range.

Returns:

  • (Integer)


27790
27791
27792
27793
27794
27795
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 27790

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