> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# ServerProcess

Configuration of a fleet server process.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/fleet-base.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-gamelift-alpha/lib/fleet-base.ts#L61)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
const serverProcess: gamelift_alpha.ServerProcess = {
  launchPath: 'launchPath',

  // the properties below are optional
  concurrentExecutions: 123,
  parameters: 'parameters',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha

server_process = gamelift_alpha.ServerProcess(
    launch_path="launchPath",

    # the properties below are optional
    concurrent_executions=123,
    parameters="parameters"
)
```

Java:

```java
// 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.*;

ServerProcess serverProcess = ServerProcess.builder()
        .launchPath("launchPath")

        // the properties below are optional
        .concurrentExecutions(123)
        .parameters("parameters")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.GameLift.Alpha
// 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 serverProcess = new ServerProcess {
    LaunchPath = "launchPath",

    // the properties below are optional
    ConcurrentExecutions = 123,
    Parameters = "parameters"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import gamelift_alpha "github.com/aws/aws-cdk-go/awscdkgameliftalpha"

serverProcess := &ServerProcess{
	LaunchPath: jsii.String("launchPath"),

	// the properties below are optional
	ConcurrentExecutions: jsii.Number(123),
	Parameters: jsii.String("parameters"),
}
```

## Properties

- `concurrentExecutions`: number = 1 — The number of server processes using this configuration that run concurrently on each instance.

  Minimum is `1`

- `launchPath`: string (required) — The location of a game build executable or the Realtime script file that contains the Init() function.

  Game builds and Realtime scripts are installed on instances at the root:
  - Windows (custom game builds only): `C:\game`. Example: `C:\game\MyGame\server.exe`
  - Linux: `/local/game`. Examples: `/local/game/MyGame/server.exe` or `/local/game/MyRealtimeScript.js`

- `parameters`: string — An optional list of parameters to pass to the server executable or Realtime script on launch.

  **Default:** no parameters
