AWS GameLift Fleet
This page shows how to write Terraform and CloudFormation for GameLift Fleet and write them securely.
aws_gamelift_fleet (Terraform)
The Fleet in GameLift can be configured in Terraform with the resource name aws_gamelift_fleet
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
arn
optional computed - string -
build_id
required - string -
description
optional - string -
ec2_instance_type
required - string -
fleet_type
optional - string -
id
optional computed - string -
instance_role_arn
optional - string -
log_paths
optional computed - list of string -
metric_groups
optional computed - list of string -
name
required - string -
new_game_session_protection_policy
optional - string -
operating_system
optional computed - string -
tags
optional - map from string to string -
ec2_inbound_permission
list block -
resource_creation_limit_policy
list block-
new_game_sessions_per_creator
optional - number -
policy_period_in_minutes
optional - number
-
-
runtime_configuration
list block-
game_session_activation_timeout_seconds
optional - number -
max_concurrent_game_session_activations
optional - number -
server_process
list block-
concurrent_executions
required - number -
launch_path
required - string -
parameters
optional - string
-
-
-
timeouts
single block
Explanation in Terraform Registry
Provides a Gamelift Fleet resource.
AWS::GameLift::Fleet (CloudFormation)
The Fleet in GameLift can be configured in CloudFormation with the resource name AWS::GameLift::Fleet
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
CertificateConfiguration
optional - CertificateConfiguration -
Description
optional - String -
DesiredEC2Instances
optional - Integer -
EC2InboundPermissions
optional - List of IpPermission -
EC2InstanceType
optional - String -
FleetType
optional - String -
InstanceRoleARN
optional - String -
Locations
optional - List of LocationConfiguration -
MaxSize
optional - Integer -
MetricGroups
optional - List -
MinSize
optional - Integer -
Name
optional - String -
NewGameSessionProtectionPolicy
optional - String -
PeerVpcAwsAccountId
optional - String -
PeerVpcId
optional - String -
ResourceCreationLimitPolicy
optional - ResourceCreationLimitPolicy -
BuildId
optional - String -
ScriptId
optional - String -
RuntimeConfiguration
optional - RuntimeConfiguration
Explanation in CloudFormation Registry
The
AWS::GameLift::Fleet
resource creates an Amazon GameLift (GameLift) fleet to host game servers. A fleet is a set of EC2 instances, each of which can host multiple game sessions.