Skip to content

/AWS1/CL_GML=>UPDATEFLEETATTRIBUTES()

About UpdateFleetAttributes

Updates a fleet's mutable attributes, such as 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, Amazon GameLift returns the identifiers for the updated fleet.

Learn more

Setting up Amazon GameLift fleets

Method Signature

IMPORTING

Required arguments:

IV_FLEETID TYPE /AWS1/GMLFLEETIDORARN /AWS1/GMLFLEETIDORARN

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

Optional arguments:

IV_NAME TYPE /AWS1/GMLNONZEROANDMAXSTRING /AWS1/GMLNONZEROANDMAXSTRING

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

IV_DESCRIPTION TYPE /AWS1/GMLNONZEROANDMAXSTRING /AWS1/GMLNONZEROANDMAXSTRING

A human-readable description of a fleet.

IV_NEWGAMESESSPROTECTIONPLY TYPE /AWS1/GMLPROTECTIONPOLICY /AWS1/GMLPROTECTIONPOLICY

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

IO_RESOURCECREATIONLIMITPLY TYPE REF TO /AWS1/CL_GMLRESRCCREATIONLMT00 /AWS1/CL_GMLRESRCCREATIONLMT00

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

IT_METRICGROUPS TYPE /AWS1/CL_GMLMETRICGROUPLIST_W=>TT_METRICGROUPLIST TT_METRICGROUPLIST

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.

IO_ANYWHERECONFIGURATION TYPE REF TO /AWS1/CL_GMLANYWHERECONF /AWS1/CL_GMLANYWHERECONF

Amazon GameLift Anywhere configuration options.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GMLUPDFLEETATTRSOUT /AWS1/CL_GMLUPDFLEETATTRSOUT