interface LocationConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.CfnFleet.LocationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnFleet_LocationConfigurationProperty |
Java | software.amazon.awscdk.services.gamelift.CfnFleet.LocationConfigurationProperty |
Python | aws_cdk.aws_gamelift.CfnFleet.LocationConfigurationProperty |
TypeScript | aws-cdk-lib » aws_gamelift » CfnFleet » LocationConfigurationProperty |
This data type has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview..
A remote location where a multi-location fleet can deploy game servers for game hosting.
Example
// 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.CfnFleet.LocationConfigurationProperty = {
location: 'location',
// the properties below are optional
locationCapacity: {
desiredEc2Instances: 123,
maxSize: 123,
minSize: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
location | string | An AWS Region code, such as us-west-2 . |
location | IResolvable | Location | Current resource capacity settings for managed EC2 fleets and container fleets. |
location
Type:
string
An AWS Region code, such as us-west-2
.
For a list of supported Regions and Local Zones, see Amazon GameLift service locations for managed hosting.
locationCapacity?
Type:
IResolvable
|
Location
(optional)
Current resource capacity settings for managed EC2 fleets and container fleets.
For multi-location fleets, location values might refer to a fleet's remote location or its home Region.
Returned by: DescribeFleetCapacity , DescribeFleetLocationCapacity , UpdateFleetCapacity