aws-cdk-lib.aws_gamelift.CfnMatchmakingConfiguration.GamePropertyProperty

interface GamePropertyProperty

LanguageType name
.NETAmazon.CDK.AWS.GameLift.CfnMatchmakingConfiguration.GamePropertyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnMatchmakingConfiguration_GamePropertyProperty
Javasoftware.amazon.awscdk.services.gamelift.CfnMatchmakingConfiguration.GamePropertyProperty
Pythonaws_cdk.aws_gamelift.CfnMatchmakingConfiguration.GamePropertyProperty
TypeScript aws-cdk-lib » aws_gamelift » CfnMatchmakingConfiguration » GamePropertyProperty

Set of key-value pairs that contain information about a game session.

When included in a game session request, these properties communicate details to be used when setting up the new game session. For example, a game property might specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session. For more information, see the Amazon GameLift Developer Guide .

Example

// 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 gamePropertyProperty: gamelift.CfnMatchmakingConfiguration.GamePropertyProperty = {
  key: 'key',
  value: 'value',
};

Properties

NameTypeDescription
keystringThe game property identifier.
valuestringThe game property value.

key

Type: string

The game property identifier.


value

Type: string

The game property value.