AWS::GameLift::FleetThe AWS::GameLift::Fleet resource creates an Amazon GameLift (GameLift) fleet to host game servers. A fleet is a set of EC2 or Anywhere instances, each of which can host multiple game sessions.
30 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | Required |
AnywhereConfiguration | AnywhereConfiguration | |
ApplyCapacity | string | Write-only |
BuildId | string | Create-only |
CertificateConfiguration | CertificateConfiguration | Create-only |
ComputeType | string | Create-only |
Description | string | |
DesiredEC2Instances | integer | Deprecated |
EC2InboundPermissions | Array<IpPermission> | |
EC2InstanceType | string | Create-only |
FleetType | string | Create-only |
InstanceRoleARN | string | Create-only |
InstanceRoleCredentialsProvider | string | Create-only |
Locations | Array<LocationConfiguration> | |
LogPaths | Array<string> | Create-onlyDeprecated |
MaxSize | integer | Deprecated |
MetricGroups | Array<string> | |
MinSize | integer | Deprecated |
NewGameSessionProtectionPolicy | string | |
PeerVpcAwsAccountId | string | Create-only |
PeerVpcId | string | Create-only |
PlayerGatewayConfiguration | PlayerGatewayConfiguration | Create-only |
PlayerGatewayMode | string | Create-only |
ResourceCreationLimitPolicy | ResourceCreationLimitPolicy | |
RuntimeConfiguration | RuntimeConfiguration | |
ScalingPolicies | Array<ScalingPolicy> | |
ScriptId | string | Create-only |
ServerLaunchParameters | string | Create-onlyDeprecated |
ServerLaunchPath | string | Create-onlyDeprecated |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
FleetArn | string | The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers Fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift Fleet ARN, the resource ID matches the FleetId value. |
FleetId | string | Unique fleet ID |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::GameLift::Fleet
Resources:
MyResource:
Type: AWS::GameLift::Fleet
Properties:
Name: "my-name"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
gamelift:CreateFleetgamelift:CreateFleetLocationsgamelift:DescribeFleetAttributesgamelift:DescribeFleetLocationAttributesgamelift:UpdateFleetCapacitygamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetCapacitygamelift:DescribeFleetPortSettingsgamelift:DescribeFleetAttributesgamelift:DescribeFleetLocationAttributesgamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetCapacitygamelift:DescribeFleetPortSettingsgamelift:DescribeRuntimeConfigurationgamelift:DescribeScalingPoliciesgamelift:ListTagsForResourcegamelift:UpdateFleetAttributesgamelift:CreateFleetLocationsgamelift:DeleteFleetLocationsgamelift:UpdateFleetCapacitygamelift:UpdateFleetPortSettingsgamelift:UpdateRuntimeConfigurationgamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetPortSettingsgamelift:DeleteFleetgamelift:DescribeFleetLocationCapacitygamelift:DescribeFleetAttributesgamelift:DescribeFleetCapacitygamelift:DescribeFleetLocationCapacitygamelift:UpdateFleetCapacitygamelift:DescribeScalingPoliciesgamelift:DeleteScalingPolicygamelift:ListFleetsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterFleetIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
BuildIdCertificateConfigurationEC2InstanceTypeFleetTypeInstanceRoleARNInstanceRoleCredentialsProviderLogPathsPeerVpcAwsAccountIdPeerVpcIdScriptIdServerLaunchParametersServerLaunchPathComputeTypePlayerGatewayModePlayerGatewayConfiguration