Skip to content

/AWS1/CL_GMLCONTAINERGRPSCONF

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

Configuration details for a set of container groups, for use when creating a fleet with compute type CONTAINER.

Used with: CreateFleet

CONSTRUCTOR

IMPORTING

Required arguments:

IT_CONTAINERGROUPDEFNNAMES TYPE /AWS1/CL_GMLCONTAINERGRDEFNA00=>TT_CONTAINERGRDEFNAMEORARNLM00 TT_CONTAINERGRDEFNAMEORARNLM00

The list of container group definition names to deploy to a new container fleet.

IO_CONNECTIONPORTRANGE TYPE REF TO /AWS1/CL_GMLCONNPORTRANGE /AWS1/CL_GMLCONNPORTRANGE

A set of ports to allow inbound traffic, including game clients, to connect to processes running in the container fleet.

Connection ports are dynamically mapped to container ports, which are assigned to individual processes running in a container. The connection port range must have enough ports to map to all container ports across a fleet instance. To calculate the minimum connection ports needed, use the following formula:

[Total number of container ports as defined for containers in the replica container group] * [Desired or calculated number of replica container groups per instance] + [Total number of container ports as defined for containers in the daemon container group]

As a best practice, double the minimum number of connection ports.

Use the fleet's EC2InboundPermissions property to control external access to connection ports. Set this property to the connection port numbers that you want to open access to. See IpPermission for more details.

Optional arguments:

IV_DESIREDRPLCONTAINERGRSP00 TYPE /AWS1/GMLRPLCONTAINERGRSPERI00 /AWS1/GMLRPLCONTAINERGRSPERI00

The number of times to replicate the replica container group on each instance in a container fleet. By default, Amazon GameLift calculates the maximum number of replica container groups that can fit on a fleet instance (based on CPU and memory resources). Leave this parameter empty if you want to use the maximum number, or specify a desired number to override the maximum. The desired number is used if it's less than the maximum number.


Queryable Attributes

ContainerGroupDefinitionNames

The list of container group definition names to deploy to a new container fleet.

Accessible with the following methods

Method Description
GET_CONTAINERGROUPDEFNNAMES() Getter for CONTAINERGROUPDEFNNAMES, with configurable defaul
ASK_CONTAINERGROUPDEFNNAMES() Getter for CONTAINERGROUPDEFNNAMES w/ exceptions if field ha
HAS_CONTAINERGROUPDEFNNAMES() Determine if CONTAINERGROUPDEFNNAMES has a value

ConnectionPortRange

A set of ports to allow inbound traffic, including game clients, to connect to processes running in the container fleet.

Connection ports are dynamically mapped to container ports, which are assigned to individual processes running in a container. The connection port range must have enough ports to map to all container ports across a fleet instance. To calculate the minimum connection ports needed, use the following formula:

[Total number of container ports as defined for containers in the replica container group] * [Desired or calculated number of replica container groups per instance] + [Total number of container ports as defined for containers in the daemon container group]

As a best practice, double the minimum number of connection ports.

Use the fleet's EC2InboundPermissions property to control external access to connection ports. Set this property to the connection port numbers that you want to open access to. See IpPermission for more details.

Accessible with the following methods

Method Description
GET_CONNECTIONPORTRANGE() Getter for CONNECTIONPORTRANGE

DesiredReplicaContainerGroupsPerInstance

The number of times to replicate the replica container group on each instance in a container fleet. By default, Amazon GameLift calculates the maximum number of replica container groups that can fit on a fleet instance (based on CPU and memory resources). Leave this parameter empty if you want to use the maximum number, or specify a desired number to override the maximum. The desired number is used if it's less than the maximum number.

Accessible with the following methods

Method Description
GET_DESIREDRPLCONTAINERGRS00() Getter for DESIREDRPLCONTAINERGRSPERI00, with configurable d
ASK_DESIREDRPLCONTAINERGRS00() Getter for DESIREDRPLCONTAINERGRSPERI00 w/ exceptions if fie
HAS_DESIREDRPLCONTAINERGRS00() Determine if DESIREDRPLCONTAINERGRSPERI00 has a value