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
-
arnoptional computed - string -
build_idrequired - string -
descriptionoptional - string -
ec2_instance_typerequired - string -
fleet_typeoptional - string -
idoptional computed - string -
instance_role_arnoptional - string -
log_pathsoptional computed - list of string -
metric_groupsoptional computed - list of string -
namerequired - string -
new_game_session_protection_policyoptional - string -
operating_systemoptional computed - string -
tagsoptional - map from string to string -
ec2_inbound_permissionlist block -
resource_creation_limit_policylist block-
new_game_sessions_per_creatoroptional - number -
policy_period_in_minutesoptional - number
-
-
runtime_configurationlist block-
game_session_activation_timeout_secondsoptional - number -
max_concurrent_game_session_activationsoptional - number -
server_processlist block-
concurrent_executionsrequired - number -
launch_pathrequired - string -
parametersoptional - string
-
-
-
timeoutssingle 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
-
CertificateConfigurationoptional - CertificateConfiguration -
Descriptionoptional - String -
DesiredEC2Instancesoptional - Integer -
EC2InboundPermissionsoptional - List of IpPermission -
EC2InstanceTypeoptional - String -
FleetTypeoptional - String -
InstanceRoleARNoptional - String -
Locationsoptional - List of LocationConfiguration -
MaxSizeoptional - Integer -
MetricGroupsoptional - List -
MinSizeoptional - Integer -
Nameoptional - String -
NewGameSessionProtectionPolicyoptional - String -
PeerVpcAwsAccountIdoptional - String -
PeerVpcIdoptional - String -
ResourceCreationLimitPolicyoptional - ResourceCreationLimitPolicy -
BuildIdoptional - String -
ScriptIdoptional - String -
RuntimeConfigurationoptional - RuntimeConfiguration
Explanation in CloudFormation Registry
The
AWS::GameLift::Fleetresource 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.