@aws-cdk_aws-gamelift-alpha.GameProperty

interface GameProperty ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.GameProperty
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#GameProperty
Javasoftware.amazon.awscdk.services.gamelift.alpha.GameProperty
Pythonaws_cdk.aws_gamelift_alpha.GameProperty
TypeScript (source)@aws-cdk/aws-gamelift-alpha ยป GameProperty

A set of custom properties for a game session, formatted as key-value pairs.

These properties are passed to a game server process with a request to start a new game session.

This parameter is not used for Standalone FlexMatch mode.

See also: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession

Example

// 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 gameProperty: gamelift_alpha.GameProperty = {
  key: 'key',
  value: 'value',
};

Properties

NameTypeDescription
key๐Ÿ”นstringThe game property identifier.
value๐Ÿ”นstringThe game property value.

key๐Ÿ”น

Type: string

The game property identifier.


value๐Ÿ”น

Type: string

The game property value.