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, such as to specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session; the server process uses the properties as appropriate. For more information, see the Amazon GameLift Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Game property identifier.

Returns:

  • (String)

    Game property identifier.

#valueString

Game property value.

Returns:

  • (String)

    Game property value.