Interface GameProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GameProperty.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:15.680Z") @Stability(Experimental) public interface GameProperty extends software.amazon.jsii.JsiiSerializable
(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.

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.alpha.*;
 GameProperty gameProperty = GameProperty.builder()
         .key("key")
         .value("value")
         .build();
 

See Also:
  • Method Details

    • getKey

      @Stability(Experimental) @NotNull String getKey()
      (experimental) The game property identifier.
    • getValue

      @Stability(Experimental) @NotNull String getValue()
      (experimental) The game property value.
    • builder

      @Stability(Experimental) static GameProperty.Builder builder()
      Returns:
      a GameProperty.Builder of GameProperty