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

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

Overview

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

**Part of:** [ContainerPortConfiguration]

[1]: docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerPortConfiguration.html

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)


1303
1304
1305
1306
1307
1308
1309
# File 'lib/aws-sdk-gamelift/types.rb', line 1303

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)


1303
1304
1305
1306
1307
1308
1309
# File 'lib/aws-sdk-gamelift/types.rb', line 1303

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)


1303
1304
1305
1306
1307
1308
1309
# File 'lib/aws-sdk-gamelift/types.rb', line 1303

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