Interface BuildFleetProps
- All Superinterfaces:
FleetProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BuildFleetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:49.988Z")
@Stability(Experimental)
public interface BuildFleetProps
extends software.amazon.jsii.JsiiSerializable, FleetProps
(experimental) Properties for a new Gamelift build fleet.
Example:
Build build;
// Server processes can be delcared in a declarative way through the constructor
BuildFleet fleet = BuildFleet.Builder.create(this, "Game server fleet")
.fleetName("test-fleet")
.content(build)
.instanceType(InstanceType.of(InstanceClass.C4, InstanceSize.LARGE))
.runtimeConfiguration(RuntimeConfiguration.builder()
.serverProcesses(List.of(ServerProcess.builder()
.launchPath("/local/game/GameLiftExampleServer.x86_64")
.parameters("-logFile /local/game/logs/myserver1935.log -port 1935")
.concurrentExecutions(100)
.build()))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBuildFleetPropsstatic final classAn implementation forBuildFleetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic BuildFleetProps.Builderbuilder()(experimental) A build to be deployed on the fleet.default List<IngressRule> (experimental) The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet.Methods inherited from interface software.amazon.awscdk.services.gamelift.alpha.FleetProps
getDescription, getDesiredCapacity, getFleetName, getInstanceType, getLocations, getMaxSize, getMetricGroup, getMinSize, getPeerVpc, getProtectNewGameSession, getResourceCreationLimitPolicy, getRole, getRuntimeConfiguration, getUseCertificate, getUseSpotMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
(experimental) A build to be deployed on the fleet.The build must have been successfully uploaded to Amazon GameLift and be in a
READYstatus.This fleet setting cannot be changed once the fleet is created.
-
getIngressRules
(experimental) The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet.This property must be set before players can connect to game sessions.
Default: no inbound traffic allowed
-
builder
- Returns:
- a
BuildFleetProps.BuilderofBuildFleetProps
-