Class Location
(experimental) A remote location where a multi-location fleet can deploy EC2 instances for game hosting.
Inheritance
System.Object
Location
Implements
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public class Location : Object, ILocation
Syntax (vb)
Public Class Location
Inherits Object
Implements ILocation
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
var location = new Location {
Region = "region",
// the properties below are optional
Capacity = new LocationCapacity {
DesiredCapacity = 123,
MaxSize = 123,
MinSize = 123
}
};
Synopsis
Constructors
Location() |
Properties
Capacity | (experimental) Current resource capacity settings in a specified fleet or location. |
Region | (experimental) An AWS Region code. |
Constructors
Location()
public Location()
Properties
Capacity
(experimental) Current resource capacity settings in a specified fleet or location.
public ILocationCapacity Capacity { get; set; }
Property Value
Remarks
The location value might refer to a fleet's remote location or its home Region.
Default: no capacity settings on the specified location
Stability: Experimental
Region
(experimental) An AWS Region code.
public string Region { get; set; }
Property Value
System.String
Remarks
Stability: Experimental