# RuntimeConfigurationProperty

A collection of server process configurations that describe the set of processes to run on each instance in a fleet.

Server processes run either an executable in a custom game build or a Realtime Servers script. GameLift launches the configured processes, manages their life cycle, and replaces them as needed. Each instance checks regularly for an updated runtime configuration.

A GameLift instance is limited to 50 processes running concurrently. To calculate the total number of processes in a runtime configuration, add the values of the `ConcurrentExecutions` parameter for each ServerProcess. Learn more about [Running Multiple Processes on a Fleet](https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-multiprocess.html) .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const runtimeConfigurationProperty: gamelift.CfnFleet.RuntimeConfigurationProperty = {
  gameSessionActivationTimeoutSeconds: 123,
  maxConcurrentGameSessionActivations: 123,
  serverProcesses: [{
    concurrentExecutions: 123,
    launchPath: 'launchPath',

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

Python:

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

runtime_configuration_property = gamelift.CfnFleet.RuntimeConfigurationProperty(
    game_session_activation_timeout_seconds=123,
    max_concurrent_game_session_activations=123,
    server_processes=[gamelift.CfnFleet.ServerProcessProperty(
        concurrent_executions=123,
        launch_path="launchPath",

        # the properties below are optional
        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.*;

RuntimeConfigurationProperty runtimeConfigurationProperty = RuntimeConfigurationProperty.builder()
        .gameSessionActivationTimeoutSeconds(123)
        .maxConcurrentGameSessionActivations(123)
        .serverProcesses(List.of(ServerProcessProperty.builder()
                .concurrentExecutions(123)
                .launchPath("launchPath")

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

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;

var runtimeConfigurationProperty = new RuntimeConfigurationProperty {
    GameSessionActivationTimeoutSeconds = 123,
    MaxConcurrentGameSessionActivations = 123,
    ServerProcesses = new [] { new ServerProcessProperty {
        ConcurrentExecutions = 123,
        LaunchPath = "launchPath",

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

Golang:

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

runtimeConfigurationProperty := &RuntimeConfigurationProperty{
	GameSessionActivationTimeoutSeconds: jsii.Number(123),
	MaxConcurrentGameSessionActivations: jsii.Number(123),
	ServerProcesses: []interface{}{
		&ServerProcessProperty{
			ConcurrentExecutions: jsii.Number(123),
			LaunchPath: jsii.String("launchPath"),

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

## Properties

- `gameSessionActivationTimeoutSeconds`: number — The maximum amount of time (in seconds) allowed to launch a new game session and have it report ready to host players.

  During this time, the game session is in status `ACTIVATING` . If the game session does not become active before the timeout, it is ended and the game session status is changed to `TERMINATED` .

- `maxConcurrentGameSessionActivations`: number — The number of game sessions in status `ACTIVATING` to allow on an instance or compute.

  This setting limits the instance resources that can be used for new game activations at any one time.

- `serverProcesses`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFleet.ServerProcessProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_gamelift.CfnFleet.ServerProcessProperty.html)[] — A collection of server process configurations that identify what server processes to run on fleet computes.
