Skip to content
v2.275.0

LocationConfigurationProperty Struct ​

A remote location where a multi-location fleet can deploy game servers for game hosting.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const locationConfigurationProperty: gamelift.CfnContainerFleet.LocationConfigurationProperty = {
  location: 'location',

  // the properties below are optional
  locationCapacity: {
    maxSize: 123,

    // the properties below are optional
    desiredEc2Instances: 123,
    managedCapacityConfiguration: {
      zeroCapacityStrategy: 'zeroCapacityStrategy',

      // the properties below are optional
      scaleInAfterInactivityMinutes: 123,
    },
    minSize: 123,
  },
  playerGatewayStatus: 'playerGatewayStatus',
  stoppedActions: ['stoppedActions'],
};

Properties ​

locationstringlocationstrlocationStringLocationstringLocation*stringrequired#
An AWS Region code, such as `us-west-2` .

For a list of supported Regions and Local Zones, see Amazon GameLift Servers service locations for managed hosting.

locationCapacityoptionalIResolvable | CfnContainerFleet.LocationCapacityPropertylocation_capacityoptionaltyping.Union[IResolvable, LocationCapacityProperty]locationCapacityoptionalIResolvableLocationCapacityoptionalIResolvableLocationCapacityoptionalinterface{}#
Current resource capacity settings in a specified fleet or location.

The location value might refer to a fleet's remote location or its home Region.

playerGatewayStatusoptionalstringplayer_gateway_statusoptionalstrplayerGatewayStatusoptionalStringPlayerGatewayStatusoptionalstringPlayerGatewayStatusoptional*string#
The player gateway status for the location.
stoppedActionsoptionalstring[]stopped_actionsoptionaltyping.List[str]stoppedActionsoptionalList<String>StoppedActionsoptionalstring[]StoppedActionsoptional*[]*string#
A list of fleet actions that have been suspended in the fleet location.