Interface BuildFleetProps

All Superinterfaces:
FleetProps, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BuildFleetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.674Z") @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();
 
  • Method Details

    • getContent

      @Stability(Experimental) @NotNull IBuild getContent()
      (experimental) A build to be deployed on the fleet.

      The build must have been successfully uploaded to Amazon GameLift and be in a READY status.

      This fleet setting cannot be changed once the fleet is created.

    • getIngressRules

      @Stability(Experimental) @Nullable default List<IngressRule> 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

      @Stability(Experimental) static BuildFleetProps.Builder builder()
      Returns:
      a BuildFleetProps.Builder of BuildFleetProps