GameProperty

class aws_cdk.aws_gamelift_alpha.GameProperty(*, key, value)

Bases: object

(experimental) 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.

Parameters:
  • key (str) – (experimental) The game property identifier.

  • value (str) – (experimental) The game property value.

See:

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

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# 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

game_property = gamelift_alpha.GameProperty(
    key="key",
    value="value"
)

Attributes

key

(experimental) The game property identifier.

Stability:

experimental

value

(experimental) The game property value.

Stability:

experimental