Interface IBuildFleetProps
(experimental) Properties for a new Gamelift build fleet.
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public interface IBuildFleetProps : IFleetProps
Syntax (vb)
Public Interface IBuildFleetProps
Inherits IFleetProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Build build;
// Server processes can be delcared in a declarative way through the constructor
var fleet = new BuildFleet(this, "Game server fleet", new BuildFleetProps {
FleetName = "test-fleet",
Content = build,
InstanceType = InstanceType.Of(InstanceClass.C4, InstanceSize.LARGE),
RuntimeConfiguration = new RuntimeConfiguration {
ServerProcesses = new [] { new ServerProcess {
LaunchPath = "/local/game/GameLiftExampleServer.x86_64",
Parameters = "-logFile /local/game/logs/myserver1935.log -port 1935",
ConcurrentExecutions = 100
} }
}
});
Synopsis
Properties
Content | (experimental) A build to be deployed on the fleet. |
IngressRules | (experimental) The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet. |
Properties
Content
(experimental) A build to be deployed on the fleet.
IBuild Content { get; }
Property Value
Remarks
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.
Stability: Experimental
IngressRules
(experimental) The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet.
virtual IIngressRule[] IngressRules { get; }
Property Value
Remarks
This property must be set before players can connect to game sessions.
Default: no inbound traffic allowed
Stability: Experimental