AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an Amazon GameLift Servers fleet of game hosting resources. Attributes differ based on the fleet's compute type, as follows:

Returned by: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetAttributes

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.FleetAttributes

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class FleetAttributes

The FleetAttributes type exposes the following members

Constructors

NameDescription
Public Method FleetAttributes()

Properties

NameTypeDescription
Public Property AnywhereConfiguration Amazon.GameLift.Model.AnywhereConfiguration

Gets and sets the property AnywhereConfiguration.

A set of attributes that are specific to an Anywhere fleet.

Public Property BuildArn System.String

Gets and sets the property BuildArn.

The Amazon Resource Name (ARN) associated with the Amazon GameLift Servers build resource that is deployed on instances in this fleet. In a GameLift build ARN, the resource ID matches the BuildId value. This attribute is used with fleets where ComputeType is "EC2".

Public Property BuildId System.String

Gets and sets the property BuildId.

A unique identifier for the build resource that is deployed on instances in this fleet. This attribute is used with fleets where ComputeType is "EC2".

Public Property CertificateConfiguration Amazon.GameLift.Model.CertificateConfiguration

Gets and sets the property CertificateConfiguration.

Determines whether a TLS/SSL certificate is generated for a fleet. This feature must be enabled when creating the fleet. All instances in a fleet share the same certificate.

Public Property ComputeType Amazon.GameLift.ComputeType

Gets and sets the property ComputeType.

The type of compute resource used to host your game servers. You can use your own compute resources with Amazon GameLift Servers Anywhere or use Amazon EC2 instances with managed Amazon GameLift Servers.

Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

Public Property Description System.String

Gets and sets the property Description.

A human-readable description of the fleet.

Public Property FleetArn System.String

Gets and sets the property FleetArn.

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. Format is arn:aws:gamelift:::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912. In a GameLift fleet ARN, the resource ID matches the FleetId value.

Public Property FleetId System.String

Gets and sets the property FleetId.

A unique identifier for the fleet.

Public Property FleetType Amazon.GameLift.FleetType

Gets and sets the property FleetType.

Indicates whether the fleet uses On-Demand or Spot instances. For more information, see On-Demand versus Spot Instances. This fleet property can't be changed after the fleet is created.

Public Property InstanceRoleArn System.String

Gets and sets the property InstanceRoleArn.

A unique identifier for an IAM role that manages access to your Amazon Web Services services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN by using the IAM dashboard in the Amazon Web Services Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server. This attribute is used with fleets where ComputeType is EC2.

Public Property InstanceRoleCredentialsProvider Amazon.GameLift.InstanceRoleCredentialsProvider

Gets and sets the property InstanceRoleCredentialsProvider.

Indicates that fleet instances maintain a shared credentials file for the IAM role defined in InstanceRoleArn. Shared credentials allow applications that are deployed with the game server executable to communicate with other Amazon Web Services resources. This property is used only when the game server is integrated with the server SDK version 5.x. For more information about using shared credentials, see Communicate with other Amazon Web Services resources from your fleets. This attribute is used with fleets where ComputeType is EC2.

Public Property InstanceType Amazon.GameLift.EC2InstanceType

Gets and sets the property InstanceType.

The Amazon EC2 instance type that the fleet uses. Instance type determines the computing resources of each instance in the fleet, including CPU, memory, storage, and networking capacity. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions. This attribute is used with fleets where ComputeType is EC2.

Public Property LogPaths System.Collections.Generic.List<System.String>

Gets and sets the property LogPaths.

This parameter is no longer used. Game session log paths are now defined using the Amazon GameLift Servers server API ProcessReady() logParameters. See more information in the Server API Reference.

Public Property MetricGroups System.Collections.Generic.List<System.String>

Gets and sets the property MetricGroups.

Name of a metric group that metrics for this fleet are added to. In Amazon CloudWatch, you can view aggregated metrics for fleets that are in a metric group. A fleet can be included in only one metric group at a time. This attribute is used with fleets where ComputeType is EC2.

Public Property Name System.String

Gets and sets the property Name.

A descriptive label that is associated with a fleet. Fleet names do not need to be unique.

Public Property NewGameSessionProtectionPolicy Amazon.GameLift.ProtectionPolicy

Gets and sets the property NewGameSessionProtectionPolicy.

The type of game session protection to set on all new instances that are started in the fleet. This attribute is used with fleets where ComputeType is EC2.

  • NoProtection -- The game session can be terminated during a scale-down event.

  • FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

Public Property OperatingSystem Amazon.GameLift.OperatingSystem

Gets and sets the property OperatingSystem.

The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet. This attribute is used with fleets where ComputeType is EC2.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use server SDK version 4.x for Amazon GameLift Servers, first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to server SDK version 5.

Public Property ResourceCreationLimitPolicy Amazon.GameLift.Model.ResourceCreationLimitPolicy

Gets and sets the property ResourceCreationLimitPolicy.

Public Property ScriptArn System.String

Gets and sets the property ScriptArn.

The Amazon Resource Name (ARN) associated with the GameLift script resource that is deployed on instances in this fleet. In a GameLift script ARN, the resource ID matches the ScriptId value.

Public Property ScriptId System.String

Gets and sets the property ScriptId.

A unique identifier for the Realtime script resource that is deployed on instances in this fleet. This attribute is used with fleets where ComputeType is "EC2".

Public Property ServerLaunchParameters System.String

Gets and sets the property ServerLaunchParameters.

This parameter is no longer used. Server launch parameters are now defined using the fleet's runtime configuration. Requests that use this parameter continue to be valid.

Public Property ServerLaunchPath System.String

Gets and sets the property ServerLaunchPath.

This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration. Requests that use this parameter continue to be valid.

Public Property Status Amazon.GameLift.FleetStatus

Gets and sets the property Status.

Current status of the fleet. Possible fleet statuses include the following:

  • NEW -- A new fleet resource has been defined and Amazon GameLift Servers has started creating the fleet. Desired instances is set to 1.

  • DOWNLOADING/VALIDATING/BUILDING -- Amazon GameLift Servers is download the game server build, running install scripts, and then validating the build files. When complete, Amazon GameLift Servers launches a fleet instance.

  • ACTIVATING -- Amazon GameLift Servers is launching a game server process and testing its connectivity with the Amazon GameLift Servers service.

  • ACTIVE -- The fleet is now ready to host game sessions.

  • ERROR -- An error occurred when downloading, validating, building, or activating the fleet.

  • DELETING -- Hosts are responding to a delete fleet request.

  • TERMINATED -- The fleet no longer exists.

Public Property StoppedActions System.Collections.Generic.List<System.String>

Gets and sets the property StoppedActions.

A list of fleet activity that has been suspended using StopFleetActions. This includes fleet auto-scaling. This attribute is used with fleets where ComputeType is EC2.

Public Property TerminationTime System.DateTime

Gets and sets the property TerminationTime.

A time stamp indicating when this data object was terminated. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5