Interface Location
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Location.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.809Z")
@Stability(Experimental)
public interface Location
extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.services.gamelift.alpha.*;
Location location = Location.builder()
.region("region")
// the properties below are optional
.capacity(LocationCapacity.builder()
.desiredCapacity(123)
.maxSize(123)
.minSize(123)
.build())
.build();
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Location.Builderbuilder()default LocationCapacity(experimental) Current resource capacity settings in a specified fleet or location.(experimental) An AWS Region code.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRegion
(experimental) An AWS Region code. -
getCapacity
(experimental) 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.
Default: no capacity settings on the specified location
-
builder
- Returns:
- a
Location.BuilderofLocation
-