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.

Container for the parameters to the UpdateFleetAttributes operation. Updates a fleet's mutable attributes, including game session protection and resource creation limits.

To update fleet attributes, specify the fleet ID and the property values that you want to change.

If successful, an updated FleetAttributes object is returned.

Learn more

Setting up GameLift fleets

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.GameLift.AmazonGameLiftRequest
      Amazon.GameLift.Model.UpdateFleetAttributesRequest

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

Syntax

C#
public class UpdateFleetAttributesRequest : AmazonGameLiftRequest
         IAmazonWebServiceRequest

The UpdateFleetAttributesRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AnywhereConfiguration Amazon.GameLift.Model.AnywhereConfiguration

Gets and sets the property AnywhereConfiguration.

GameLift Anywhere configuration options.

Public Property Description System.String

Gets and sets the property Description.

A human-readable description of a fleet.

Public Property FleetId System.String

Gets and sets the property FleetId.

A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.

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

Gets and sets the property MetricGroups.

The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.

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 game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession .

  • 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 ResourceCreationLimitPolicy Amazon.GameLift.Model.ResourceCreationLimitPolicy

Gets and sets the property ResourceCreationLimitPolicy.

Policy settings that limit the number of game sessions an individual player can create over a span of time.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5