@Stability(value=Stable)
public static interface CfnMatchmakingConfiguration.GamePropertyProperty
extends software.amazon.jsii.JsiiSerializable
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 GameLift Developer Guide .
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMatchmakingConfiguration.GamePropertyProperty.Builder
A builder for
CfnMatchmakingConfiguration.GamePropertyProperty |
static class |
CfnMatchmakingConfiguration.GamePropertyProperty.Jsii$Proxy
An implementation for
CfnMatchmakingConfiguration.GamePropertyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMatchmakingConfiguration.GamePropertyProperty.Builder |
builder() |
String |
getKey()
The game property identifier.
|
String |
getValue()
The game property value.
|
@Stability(value=Stable) @NotNull String getKey()
@Stability(value=Stable) @NotNull String getValue()
@Stability(value=Stable) static CfnMatchmakingConfiguration.GamePropertyProperty.Builder builder()
Copyright © 2022. All rights reserved.