@aws-cdk_aws-gamelift-alpha.Location

interface Location ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.Location
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#Location
Javasoftware.amazon.awscdk.services.gamelift.alpha.Location
Pythonaws_cdk.aws_gamelift_alpha.Location
TypeScript (source)@aws-cdk/aws-gamelift-alpha ยป Location

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

Example

// 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

NameTypeDescription
region๐Ÿ”นstringAn AWS Region code.
capacity?๐Ÿ”นLocationCapacityCurrent resource capacity settings in a specified fleet or location.

region๐Ÿ”น

Type: string

An AWS Region code.


capacity?๐Ÿ”น

Type: LocationCapacity (optional, default: no capacity settings on the specified location)

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.