Interface CfnMatchmakingConfiguration.GamePropertyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMatchmakingConfiguration.GamePropertyProperty.Jsii$Proxy
- Enclosing class:
CfnMatchmakingConfiguration
@Stability(Stable)
public static interface CfnMatchmakingConfiguration.GamePropertyProperty
extends software.amazon.jsii.JsiiSerializable
This key-value pair can store custom data about a game session.
For example, you might use a GameProperty
to track a game session's map, level of difficulty, or remaining time. The difficulty level could be specified like this: {"Key": "difficulty", "Value":"Novice"}
.
You can set game properties when creating a game session. You can also modify game properties of an active game session. When searching for game sessions, you can filter on game property keys and values. You can't delete game properties from a game session.
For examples of working with game properties, see Create a game session with properties .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.gamelift.*; GamePropertyProperty gamePropertyProperty = GamePropertyProperty.builder() .key("key") .value("value") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMatchmakingConfiguration.GamePropertyProperty
static final class
An implementation forCfnMatchmakingConfiguration.GamePropertyProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKey
The game property identifier.- See Also:
-
getValue
The game property value.- See Also:
-
builder
-