Skip to content
v2.275.0

Experimental

@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

GameProperty Struct ​

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.

Example ​

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

Properties ​

keystringkeystrkeyStringKeystringKey*stringrequired#
The game property identifier.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The game property value.