Skip to content
v2.273.0

Amazon GameLift Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as gamelift from 'aws-cdk-lib/aws-gamelift';
python
import aws_cdk.aws_gamelift as gamelift
java
import software.amazon.awscdk.services.gamelift.*;
csharp
using Amazon.CDK.AWS.GameLift;
go
import gamelift "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed as a separate package so that you can pin its version independently of the rest of the CDK. See the package:

<span class="package-reference">@aws-cdk/aws-gamelift-alpha</span>

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::GameLift.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnAliasConstruct (L1)The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination.
CfnBuildConstruct (L1)The AWS::GameLift::Build resource creates a game server build that is installed and run on instances in an Amazon GameLift fleet.
CfnContainerFleetConstruct (L1)Describes an Amazon GameLift Servers managed container fleet.
CfnContainerGroupDefinitionConstruct (L1)The properties that describe a container group resource.
CfnFleetConstruct (L1)The AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host custom game server or Realtime Servers.
CfnGameServerGroupConstruct (L1)This operation is used with the Amazon GameLift FleetIQ solution and game server groups..
CfnGameSessionQueueConstruct (L1)The AWS::GameLift::GameSessionQueue resource creates a placement queue that processes requests for new game sessions.
CfnLocationConstruct (L1)The AWS::GameLift::Location resource creates a custom location for use in an Anywhere fleet.
CfnMatchmakingConfigurationConstruct (L1)The AWS::GameLift::MatchmakingConfiguration resource defines a new matchmaking configuration for use with FlexMatch.
CfnMatchmakingRuleSetConstruct (L1)Creates a new rule set for FlexMatch matchmaking.
CfnScriptConstruct (L1)The AWS::GameLift::Script resource creates a new script record for your Realtime Servers script.
CfnAlias.RoutingStrategyPropertyStructThe routing configuration for a fleet alias.
CfnAliasPropsStructProperties for defining a CfnAlias.
CfnBuild.StorageLocationPropertyStructThe location in Amazon S3 where build or script files are stored for access by Amazon GameLift.
CfnBuildPropsStructProperties for defining a CfnBuild.
CfnContainerFleet.ConnectionPortRangePropertyStructThe set of port numbers to open on each instance in a container fleet.
CfnContainerFleet.DeploymentConfigurationPropertyStructSet of rules for processing a deployment for a container fleet update.
CfnContainerFleet.DeploymentDetailsPropertyStructInformation about the most recent deployment for the container fleet.
CfnContainerFleet.GameSessionCreationLimitPolicyPropertyStructA policy that puts limits on the number of game sessions that a player can create within a specified span of time.
CfnContainerFleet.IpPermissionPropertyStructA range of IP addresses and port settings that allow inbound traffic to connect to processes on an instance in a fleet.
CfnContainerFleet.LocationCapacityPropertyStructCurrent resource capacity settings in a specified fleet or location.
CfnContainerFleet.LocationConfigurationPropertyStructA remote location where a multi-location fleet can deploy game servers for game hosting.
CfnContainerFleet.LogConfigurationPropertyStructA method for collecting container logs for the fleet.
CfnContainerFleet.ManagedCapacityConfigurationPropertyStructConfiguration options for Amazon GameLift Servers managed capacity behavior.
CfnContainerFleet.ScalingPolicyPropertyStructRule that controls how a fleet is scaled.
CfnContainerFleet.TargetConfigurationPropertyStructSettings for a target-based scaling policy.
CfnContainerFleetPropsStructProperties for defining a CfnContainerFleet.
CfnContainerGroupDefinition.ContainerDependencyPropertyStructA container's dependency on another container in the same container group.
CfnContainerGroupDefinition.ContainerEnvironmentPropertyStructAn environment variable to set inside a container, in the form of a key-value pair.
CfnContainerGroupDefinition.ContainerHealthCheckPropertyStructInstructions on when and how to check the health of a support container in a container fleet.
CfnContainerGroupDefinition.ContainerMountPointPropertyStructA mount point that binds a container to a file or directory on the host system.
CfnContainerGroupDefinition.ContainerPortRangePropertyStructA set of one or more port numbers that can be opened on the container, and the supported network protocol.
CfnContainerGroupDefinition.GameServerContainerDefinitionPropertyStructDescribes the game server container in an existing game server container group.
CfnContainerGroupDefinition.LinuxCapabilitiesPropertyStructA set of Linux capabilities that are added to a container's default Docker configuration.
CfnContainerGroupDefinition.PortConfigurationPropertyStructDefines the ports on a container.
CfnContainerGroupDefinition.SupportContainerDefinitionPropertyStructDescribes a support container in a container group.
CfnContainerGroupDefinitionPropsStructProperties for defining a CfnContainerGroupDefinition.
CfnFleet.AnywhereConfigurationPropertyStructAmazon GameLift Servers configuration options for your Anywhere fleets.
CfnFleet.CertificateConfigurationPropertyStructDetermines whether a TLS/SSL certificate is generated for a fleet.
CfnFleet.IpPermissionPropertyStructA range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet.
CfnFleet.LocationCapacityPropertyStructCurrent resource capacity settings for managed EC2 fleets and managed container fleets.
CfnFleet.LocationConfigurationPropertyStructA remote location where a multi-location fleet can deploy game servers for game hosting.
CfnFleet.ManagedCapacityConfigurationPropertyStructConfiguration options for Amazon GameLift Servers-managed capacity behavior.
CfnFleet.PlayerGatewayConfigurationPropertyStructConfiguration for player gateway.
CfnFleet.ResourceCreationLimitPolicyPropertyStructA policy that limits the number of game sessions a player can create on the same fleet.
CfnFleet.RuntimeConfigurationPropertyStructA collection of server process configurations that describe the set of processes to run on each instance in a fleet.
CfnFleet.ScalingPolicyPropertyStructRule that controls how a fleet is scaled.
CfnFleet.ServerProcessPropertyStructA set of instructions for launching server processes on each instance in a fleet.
CfnFleet.TargetConfigurationPropertyStructSettings for a target-based scaling policy.
CfnFleetPropsStructProperties for defining a CfnFleet.
CfnGameServerGroup.AutoScalingPolicyPropertyStructThis data type is used with the GameLift FleetIQ and game server groups..
CfnGameServerGroup.InstanceDefinitionPropertyStructThis data type is used with the Amazon GameLift FleetIQ and game server groups..
CfnGameServerGroup.LaunchTemplatePropertyStructThis data type is used with the GameLift FleetIQ and game server groups..
CfnGameServerGroup.TargetTrackingConfigurationPropertyStructThis data type is used with the Amazon GameLift FleetIQ and game server groups..
CfnGameServerGroupPropsStructProperties for defining a CfnGameServerGroup.
CfnGameSessionQueue.DestinationPropertyStruct
CfnGameSessionQueue.FilterConfigurationPropertyStructA list of fleet locations where a game session queue can place new game sessions.
CfnGameSessionQueue.GameSessionQueueDestinationPropertyStructA fleet or alias designated in a game session queue.
CfnGameSessionQueue.PlayerLatencyPolicyPropertyStructThe queue setting that determines the highest latency allowed for individual players when placing a game session.
CfnGameSessionQueue.PriorityConfigurationPropertyStructCustom prioritization settings for use by a game session queue when placing new game sessions with available game servers.
CfnGameSessionQueuePropsStructProperties for defining a CfnGameSessionQueue.
CfnLocationPropsStructProperties for defining a CfnLocation.
CfnMatchmakingConfiguration.GamePropertyPropertyStructThis key-value pair can store custom data about a game session.
CfnMatchmakingConfigurationPropsStructProperties for defining a CfnMatchmakingConfiguration.
CfnMatchmakingRuleSetPropsStructProperties for defining a CfnMatchmakingRuleSet.
CfnScript.S3LocationPropertyStructThe location in Amazon S3 where build or script files can be stored for access by Amazon GameLift.
CfnScriptPropsStructProperties for defining a CfnScript.