Skip to content
v2.275.0

Experimental

@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

Location Struct ​

A remote location where a multi-location fleet can deploy EC2 instances 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 * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
const location: gamelift_alpha.Location = {
  region: 'region',

  // the properties below are optional
  capacity: {
    desiredCapacity: 123,
    maxSize: 123,
    minSize: 123,
  },
};

Properties ​

capacityoptionalLocationCapacitycapacityoptionalLocationCapacitycapacityoptionalLocationCapacityCapacityoptionalLocationCapacityCapacityoptionalLocationCapacity#
Current resource capacity settings in a specified fleet or location.

Default: no capacity settings on the specified location

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

regionstringregionstrregionStringRegionstringRegion*stringrequired#
An AWS Region code.