Class: Aws::GameLift::Types::ContainerPortRange

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

Overview

This data type is used with the Amazon GameLift containers feature, which is currently in public preview.

A set of one or more port numbers that can be opened on the container.

Part of: ContainerPortConfiguration

Constant Summary collapse

SENSITIVE =
[:from_port, :to_port]

Instance Attribute Summary collapse

Instance Attribute Details

#from_portInteger

A starting value for the range of allowed port numbers.

Returns:

  • (Integer)


1497
1498
1499
1500
1501
1502
1503
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1497

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

#protocolString

The network protocol that these ports support.

Returns:

  • (String)


1497
1498
1499
1500
1501
1502
1503
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1497

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

#to_portInteger

An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than FromPort.

Returns:

  • (Integer)


1497
1498
1499
1500
1501
1502
1503
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 1497

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