Class: Aws::GlobalAccelerator::Types::PortRange

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

Overview

Note:

When making an API call, you may pass PortRange data as a hash:

{
  from_port: 1,
  to_port: 1,
}

A complex type for a range of ports for a listener.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

The first port in the range of ports, inclusive.

Returns:

  • (Integer)


2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2908

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

#to_portInteger

The last port in the range of ports, inclusive.

Returns:

  • (Integer)


2908
2909
2910
2911
2912
2913
# File 'gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/types.rb', line 2908

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