interface Location
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.GameLift.Alpha.Location |
![]() | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#Location |
![]() | software.amazon.awscdk.services.gamelift.alpha.Location |
![]() | aws_cdk.aws_gamelift_alpha.Location |
![]() | @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
Name | Type | Description |
---|---|---|
region | string | An AWS Region code. |
capacity? | Location | Current resource capacity settings in a specified fleet or location. |
region
Type:
string
An AWS Region code.
capacity?
Type:
Location
(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.