Package-level declarations

Types

Link copied to clipboard
data class AliasRoutingStrategy(val fleetId: String? = null, val message: String? = null, val type: AliasRoutingStrategyType)
Link copied to clipboard
data class BuildStorageLocation(val bucket: String, val key: String, val objectVersion: String? = null, val roleArn: String)
data class ContainerGroupDefinitionContainerDefinition(val command: List<String>? = null, val containerName: String, val cpu: Int? = null, val dependsOn: List<ContainerGroupDefinitionContainerDependency>? = null, val entryPoint: List<String>? = null, val environment: List<ContainerGroupDefinitionContainerEnvironment>? = null, val essential: Boolean? = null, val healthCheck: ContainerGroupDefinitionContainerHealthCheck? = null, val imageUri: String, val memoryLimits: ContainerGroupDefinitionMemoryLimits? = null, val portConfiguration: ContainerGroupDefinitionPortConfiguration? = null, val resolvedImageDigest: String? = null, val workingDirectory: String? = null)

Details about a container that is used in a container fleet

A dependency that impacts a container's startup and shutdown.

An environment variable to set inside a container, in the form of a key-value pair.

data class ContainerGroupDefinitionContainerHealthCheck(val command: List<String>, val interval: Int? = null, val retries: Int? = null, val startPeriod: Int? = null, val timeout: Int? = null)

Specifies how the process manager checks the health of containers.

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

Link copied to clipboard
data class ContainerGroupDefinitionMemoryLimits(val hardLimit: Int? = null, val softLimit: Int? = null)

Specifies how much memory is available to the container.

Defines the ports on a container.

Link copied to clipboard
data class FleetAnywhereConfiguration(val cost: String)

Configuration for Anywhere fleet.

Link copied to clipboard

Information about the use of a TLS/SSL certificate for a fleet. TLS certificate generation is enabled at the fleet level, with one certificate generated for the fleet. When this feature is enabled, the certificate can be retrieved using the GameLift Server SDK call GetInstanceCertificate. All instances in a fleet share the same certificate.

Link copied to clipboard
data class FleetConnectionPortRange(val fromPort: Int, val toPort: Int)

Defines the range of ports on the instance that allow inbound traffic to connect with containers in a fleet.

Link copied to clipboard
data class FleetContainerGroupsConfiguration(val connectionPortRange: FleetConnectionPortRange, val containerGroupDefinitionNames: List<String>, val containerGroupsPerInstance: FleetContainerGroupsPerInstance? = null)

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.

Link copied to clipboard
data class FleetContainerGroupsPerInstance(val desiredReplicaContainerGroupsPerInstance: Int? = null, val maxReplicaContainerGroupsPerInstance: Int? = null)

The number of container groups per instance.

Link copied to clipboard
data class FleetIpPermission(val fromPort: Int, val ipRange: String, val protocol: FleetIpPermissionProtocol, val toPort: Int)

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an Amazon GameLift hosting resource. New game sessions that are started on the fleet are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. For fleets created with a custom game server, the ranges reflect the server's game session assignments. For Realtime Servers fleets, Amazon GameLift automatically opens two port ranges, one for TCP messaging and one for UDP, for use by the Realtime servers.

Link copied to clipboard
data class FleetLocationCapacity(val desiredEc2Instances: Int, val maxSize: Int, val minSize: Int)

Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.

Link copied to clipboard
data class FleetLocationConfiguration(val location: String, val locationCapacity: FleetLocationCapacity? = null)

A remote location where a multi-location fleet can deploy EC2 instances for game hosting.

Link copied to clipboard
data class FleetResourceCreationLimitPolicy(val newGameSessionsPerCreator: Int? = null, val policyPeriodInMinutes: Int? = null)

A policy that limits the number of game sessions a player can create on the same fleet. This optional policy gives game owners control over how players can consume available game server resources. A resource creation policy makes the following statement: "An individual player can create a maximum number of new game sessions within a specified time period". The policy is evaluated when a player tries to create a new game session. For example, assume you have a policy of 10 new game sessions and a time period of 60 minutes. On receiving a CreateGameSession request, Amazon GameLift checks that the player (identified by CreatorId) has created fewer than 10 game sessions in the past 60 minutes.

Link copied to clipboard
data class FleetRuntimeConfiguration(val gameSessionActivationTimeoutSeconds: Int? = null, val maxConcurrentGameSessionActivations: Int? = null, val serverProcesses: List<FleetServerProcess>? = null)

A collection of server process configurations that describe the processes to run on each instance in a fleet. All fleets must have a runtime configuration. Each instance in the fleet maintains server processes as specified in the runtime configuration, launching new ones as existing processes end. Each instance regularly checks for an updated runtime configuration makes adjustments as called for. The runtime configuration enables the instances in a fleet to run multiple processes simultaneously. Potential scenarios are as follows: (1) Run multiple processes of a single game server executable to maximize usage of your hosting resources. (2) Run one or more processes of different executables, such as your game server and a metrics tracking program. (3) Run multiple processes of a single game server but with different launch parameters, for example to run one process on each instance in debug mode. An Amazon GameLift instance is limited to 50 processes running simultaneously. A runtime configuration must specify fewer than this limit. To calculate the total number of processes specified in a runtime configuration, add the values of the ConcurrentExecutions parameter for each ServerProcess object in the runtime configuration.

Link copied to clipboard
data class FleetScalingPolicy(val comparisonOperator: FleetScalingPolicyComparisonOperator? = null, val evaluationPeriods: Int? = null, val location: String? = null, val metricName: FleetScalingPolicyMetricName, val name: String, val policyType: FleetScalingPolicyPolicyType? = null, val scalingAdjustment: Int? = null, val scalingAdjustmentType: FleetScalingPolicyScalingAdjustmentType? = null, val status: FleetScalingPolicyStatus? = null, val targetConfiguration: FleetTargetConfiguration? = null, val threshold: Double? = null, val updateStatus: FleetScalingPolicyUpdateStatus? = null)

Rule that controls how a fleet is scaled. Scaling policies are uniquely identified by the combination of name and fleet ID.

Link copied to clipboard
data class FleetServerProcess(val concurrentExecutions: Int, val launchPath: String, val parameters: String? = null)

A set of instructions for launching server processes on each instance in a fleet. Each instruction set identifies the location of the server executable, optional launch parameters, and the number of server processes with this configuration to maintain concurrently on the instance. Server process configurations make up a fleet's RuntimeConfiguration.

Link copied to clipboard
data class FleetTargetConfiguration(val targetValue: Double)

Settings for a target-based scaling policy. A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon GameLift to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value.

Link copied to clipboard
data class GameServerGroupAutoScalingPolicy(val estimatedInstanceWarmup: Double? = null, val targetTrackingConfiguration: GameServerGroupTargetTrackingConfiguration)

Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Link copied to clipboard
data class GameServerGroupInstanceDefinition(val instanceType: String, val weightedCapacity: String? = null)

An allowed instance type for your game server group.

Link copied to clipboard
data class GameServerGroupLaunchTemplate(val launchTemplateId: String? = null, val launchTemplateName: String? = null, val version: String? = null)

The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Settings for a target-based scaling policy applied to Auto Scaling group.

Link copied to clipboard
data class GameSessionQueueDestination(val destinationArn: String? = null)

A fleet or alias designated in a game session queue.

Link copied to clipboard
data class GameSessionQueueFilterConfiguration(val allowedLocations: List<String>? = null)
Link copied to clipboard
data class GameSessionQueuePlayerLatencyPolicy(val maximumIndividualPlayerLatencyMilliseconds: Int? = null, val policyDurationSeconds: Int? = null)

Sets a latency cap for individual players when placing a game session.

Link copied to clipboard
data class GameSessionQueuePriorityConfiguration(val locationOrder: List<String>? = null, val priorityOrder: List<GameSessionQueuePriorityOrderItem>? = null)
Link copied to clipboard
data class GetAliasResult(val aliasId: String? = null, val description: String? = null, val name: String? = null, val routingStrategy: AliasRoutingStrategy? = null)
Link copied to clipboard
data class GetBuildResult(val buildId: String? = null, val name: String? = null, val version: String? = null)
Link copied to clipboard
data class GetContainerGroupDefinitionResult(val containerGroupDefinitionArn: String? = null, val creationTime: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetFleetResult(val anywhereConfiguration: FleetAnywhereConfiguration? = null, val description: String? = null, val desiredEc2Instances: Int? = null, val ec2InboundPermissions: List<FleetIpPermission>? = null, val fleetId: String? = null, val locations: List<FleetLocationConfiguration>? = null, val maxSize: Int? = null, val metricGroups: List<String>? = null, val minSize: Int? = null, val name: String? = null, val newGameSessionProtectionPolicy: FleetNewGameSessionProtectionPolicy? = null, val resourceCreationLimitPolicy: FleetResourceCreationLimitPolicy? = null, val runtimeConfiguration: FleetRuntimeConfiguration? = null, val scalingPolicies: List<FleetScalingPolicy>? = null)
Link copied to clipboard
data class GetGameServerGroupResult(val autoScalingGroupArn: String? = null, val balancingStrategy: GameServerGroupBalancingStrategy? = null, val gameServerGroupArn: String? = null, val gameServerGroupName: String? = null, val gameServerProtectionPolicy: GameServerGroupGameServerProtectionPolicy? = null, val instanceDefinitions: List<GameServerGroupInstanceDefinition>? = null, val roleArn: String? = null)
Link copied to clipboard
data class GetGameSessionQueueResult(val arn: String? = null, val customEventData: String? = null, val destinations: List<GameSessionQueueDestination>? = null, val filterConfiguration: GameSessionQueueFilterConfiguration? = null, val notificationTarget: String? = null, val playerLatencyPolicies: List<GameSessionQueuePlayerLatencyPolicy>? = null, val priorityConfiguration: GameSessionQueuePriorityConfiguration? = null, val tags: List<Tag>? = null, val timeoutInSeconds: Int? = null)
Link copied to clipboard
data class GetLocationResult(val locationArn: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetMatchmakingConfigurationResult(val acceptanceRequired: Boolean? = null, val acceptanceTimeoutSeconds: Int? = null, val additionalPlayerCount: Int? = null, val arn: String? = null, val backfillMode: MatchmakingConfigurationBackfillMode? = null, val creationTime: String? = null, val customEventData: String? = null, val description: String? = null, val flexMatchMode: MatchmakingConfigurationFlexMatchMode? = null, val gameProperties: List<MatchmakingConfigurationGameProperty>? = null, val gameSessionData: String? = null, val gameSessionQueueArns: List<String>? = null, val notificationTarget: String? = null, val requestTimeoutSeconds: Int? = null, val ruleSetArn: String? = null, val ruleSetName: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetMatchmakingRuleSetResult(val arn: String? = null, val creationTime: String? = null, val tags: List<Tag>? = null)
Link copied to clipboard
data class GetScriptResult(val arn: String? = null, val creationTime: String? = null, val id: String? = null, val name: String? = null, val sizeOnDisk: Int? = null, val storageLocation: ScriptS3Location? = null, val tags: List<Tag>? = null, val version: String? = null)
Link copied to clipboard
data class MatchmakingConfigurationGameProperty(val key: String, val value: String)

A key-value pair that contains information about a game session.

Link copied to clipboard
data class ScriptS3Location(val bucket: String, val key: String, val objectVersion: String? = null, val roleArn: String)