Amazon GameLift Construct Library
This module is part of the AWS Cloud Development Kit project.
import * as gamelift from 'aws-cdk-lib/aws-gamelift';
import aws_cdk.aws_gamelift as gamelift
import software.amazon.awscdk.services.gamelift.*;
using Amazon.CDK.AWS.GameLift;
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:
- Search Construct Hub for GameLift construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::GameLift resources directly.
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
| Name | Kind | Summary |
|---|---|---|
CfnAlias | Construct (L1) | The AWS::GameLift::Alias resource creates an alias for an Amazon GameLift (GameLift) fleet destination. |
CfnBuild | Construct (L1) | The AWS::GameLift::Build resource creates a game server build that is installed and run on instances in an Amazon GameLift fleet. |
CfnContainerFleet | Construct (L1) | Describes an Amazon GameLift Servers managed container fleet. |
CfnContainerGroupDefinition | Construct (L1) | The properties that describe a container group resource. |
CfnFleet | Construct (L1) | The AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host custom game server or Realtime Servers. |
CfnGameServerGroup | Construct (L1) | This operation is used with the Amazon GameLift FleetIQ solution and game server groups.. |
CfnGameSessionQueue | Construct (L1) | The AWS::GameLift::GameSessionQueue resource creates a placement queue that processes requests for new game sessions. |
CfnLocation | Construct (L1) | The AWS::GameLift::Location resource creates a custom location for use in an Anywhere fleet. |
CfnMatchmakingConfiguration | Construct (L1) | The AWS::GameLift::MatchmakingConfiguration resource defines a new matchmaking configuration for use with FlexMatch. |
CfnMatchmakingRuleSet | Construct (L1) | Creates a new rule set for FlexMatch matchmaking. |
CfnScript | Construct (L1) | The AWS::GameLift::Script resource creates a new script record for your Realtime Servers script. |
CfnAlias.RoutingStrategyProperty | Struct | The routing configuration for a fleet alias. |
CfnAliasProps | Struct | Properties for defining a CfnAlias. |
CfnBuild.StorageLocationProperty | Struct | The location in Amazon S3 where build or script files are stored for access by Amazon GameLift. |
CfnBuildProps | Struct | Properties for defining a CfnBuild. |
CfnContainerFleet.ConnectionPortRangeProperty | Struct | The set of port numbers to open on each instance in a container fleet. |
CfnContainerFleet.DeploymentConfigurationProperty | Struct | Set of rules for processing a deployment for a container fleet update. |
CfnContainerFleet.DeploymentDetailsProperty | Struct | Information about the most recent deployment for the container fleet. |
CfnContainerFleet.GameSessionCreationLimitPolicyProperty | Struct | A policy that puts limits on the number of game sessions that a player can create within a specified span of time. |
CfnContainerFleet.IpPermissionProperty | Struct | A range of IP addresses and port settings that allow inbound traffic to connect to processes on an instance in a fleet. |
CfnContainerFleet.LocationCapacityProperty | Struct | Current resource capacity settings in a specified fleet or location. |
CfnContainerFleet.LocationConfigurationProperty | Struct | A remote location where a multi-location fleet can deploy game servers for game hosting. |
CfnContainerFleet.LogConfigurationProperty | Struct | A method for collecting container logs for the fleet. |
CfnContainerFleet.ManagedCapacityConfigurationProperty | Struct | Configuration options for Amazon GameLift Servers managed capacity behavior. |
CfnContainerFleet.ScalingPolicyProperty | Struct | Rule that controls how a fleet is scaled. |
CfnContainerFleet.TargetConfigurationProperty | Struct | Settings for a target-based scaling policy. |
CfnContainerFleetProps | Struct | Properties for defining a CfnContainerFleet. |
CfnContainerGroupDefinition.ContainerDependencyProperty | Struct | A container's dependency on another container in the same container group. |
CfnContainerGroupDefinition.ContainerEnvironmentProperty | Struct | An environment variable to set inside a container, in the form of a key-value pair. |
CfnContainerGroupDefinition.ContainerHealthCheckProperty | Struct | Instructions on when and how to check the health of a support container in a container fleet. |
CfnContainerGroupDefinition.ContainerMountPointProperty | Struct | A mount point that binds a container to a file or directory on the host system. |
CfnContainerGroupDefinition.ContainerPortRangeProperty | Struct | A set of one or more port numbers that can be opened on the container, and the supported network protocol. |
CfnContainerGroupDefinition.GameServerContainerDefinitionProperty | Struct | Describes the game server container in an existing game server container group. |
CfnContainerGroupDefinition.LinuxCapabilitiesProperty | Struct | A set of Linux capabilities that are added to a container's default Docker configuration. |
CfnContainerGroupDefinition.PortConfigurationProperty | Struct | Defines the ports on a container. |
CfnContainerGroupDefinition.SupportContainerDefinitionProperty | Struct | Describes a support container in a container group. |
CfnContainerGroupDefinitionProps | Struct | Properties for defining a CfnContainerGroupDefinition. |
CfnFleet.AnywhereConfigurationProperty | Struct | Amazon GameLift Servers configuration options for your Anywhere fleets. |
CfnFleet.CertificateConfigurationProperty | Struct | Determines whether a TLS/SSL certificate is generated for a fleet. |
CfnFleet.IpPermissionProperty | Struct | A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet. |
CfnFleet.LocationCapacityProperty | Struct | Current resource capacity settings for managed EC2 fleets and managed container fleets. |
CfnFleet.LocationConfigurationProperty | Struct | A remote location where a multi-location fleet can deploy game servers for game hosting. |
CfnFleet.ManagedCapacityConfigurationProperty | Struct | Configuration options for Amazon GameLift Servers-managed capacity behavior. |
CfnFleet.PlayerGatewayConfigurationProperty | Struct | Configuration for player gateway. |
CfnFleet.ResourceCreationLimitPolicyProperty | Struct | A policy that limits the number of game sessions a player can create on the same fleet. |
CfnFleet.RuntimeConfigurationProperty | Struct | A collection of server process configurations that describe the set of processes to run on each instance in a fleet. |
CfnFleet.ScalingPolicyProperty | Struct | Rule that controls how a fleet is scaled. |
CfnFleet.ServerProcessProperty | Struct | A set of instructions for launching server processes on each instance in a fleet. |
CfnFleet.TargetConfigurationProperty | Struct | Settings for a target-based scaling policy. |
CfnFleetProps | Struct | Properties for defining a CfnFleet. |
CfnGameServerGroup.AutoScalingPolicyProperty | Struct | This data type is used with the GameLift FleetIQ and game server groups.. |
CfnGameServerGroup.InstanceDefinitionProperty | Struct | This data type is used with the Amazon GameLift FleetIQ and game server groups.. |
CfnGameServerGroup.LaunchTemplateProperty | Struct | This data type is used with the GameLift FleetIQ and game server groups.. |
CfnGameServerGroup.TargetTrackingConfigurationProperty | Struct | This data type is used with the Amazon GameLift FleetIQ and game server groups.. |
CfnGameServerGroupProps | Struct | Properties for defining a CfnGameServerGroup. |
CfnGameSessionQueue.DestinationProperty | Struct | |
CfnGameSessionQueue.FilterConfigurationProperty | Struct | A list of fleet locations where a game session queue can place new game sessions. |
CfnGameSessionQueue.GameSessionQueueDestinationProperty | Struct | A fleet or alias designated in a game session queue. |
CfnGameSessionQueue.PlayerLatencyPolicyProperty | Struct | The queue setting that determines the highest latency allowed for individual players when placing a game session. |
CfnGameSessionQueue.PriorityConfigurationProperty | Struct | Custom prioritization settings for use by a game session queue when placing new game sessions with available game servers. |
CfnGameSessionQueueProps | Struct | Properties for defining a CfnGameSessionQueue. |
CfnLocationProps | Struct | Properties for defining a CfnLocation. |
CfnMatchmakingConfiguration.GamePropertyProperty | Struct | This key-value pair can store custom data about a game session. |
CfnMatchmakingConfigurationProps | Struct | Properties for defining a CfnMatchmakingConfiguration. |
CfnMatchmakingRuleSetProps | Struct | Properties for defining a CfnMatchmakingRuleSet. |
CfnScript.S3LocationProperty | Struct | The location in Amazon S3 where build or script files can be stored for access by Amazon GameLift. |
CfnScriptProps | Struct | Properties for defining a CfnScript. |