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

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)


1244
1245
1246
1247
1248
1249
1250
# File 'lib/aws-sdk-gamelift/types.rb', line 1244

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)


1244
1245
1246
1247
1248
1249
1250
# File 'lib/aws-sdk-gamelift/types.rb', line 1244

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)


1244
1245
1246
1247
1248
1249
1250
# File 'lib/aws-sdk-gamelift/types.rb', line 1244

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