You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GameLift::Types::GameProperty

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GameProperty as input to an Aws::Client method, you can use a vanilla Hash:

{
  key: "GamePropertyKey", # required
  value: "GamePropertyValue", # required
}

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.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The game property identifier.

Returns:

  • (String)

    The game property identifier.

#valueString

The game property value.

Returns:

  • (String)

    The game property value.