FleetContainerGroupsConfigurationArgs

data class FleetContainerGroupsConfigurationArgs(val connectionPortRange: Output<FleetConnectionPortRangeArgs>, val containerGroupDefinitionNames: Output<List<String>>, val containerGroupsPerInstance: Output<FleetContainerGroupsPerInstanceArgs>? = null) : ConvertibleToJava<FleetContainerGroupsConfigurationArgs>

Specifies container groups that this instance will hold. You must specify exactly one replica group. Optionally, you may specify exactly one daemon group. You can't change this property after you create the fleet.

Constructors

Link copied to clipboard
constructor(connectionPortRange: Output<FleetConnectionPortRangeArgs>, containerGroupDefinitionNames: Output<List<String>>, containerGroupsPerInstance: Output<FleetContainerGroupsPerInstanceArgs>? = null)

Properties

Link copied to clipboard

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.

Link copied to clipboard

The names of the container group definitions that will be created in an instance. You must specify exactly one REPLICA container group. You have the option to also specify one DAEMON container group.

Functions

Link copied to clipboard
open override fun toJava(): FleetContainerGroupsConfigurationArgs