You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::GameLift::Types::UpdateGameSessionInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::UpdateGameSessionInput
- Defined in:
- (unknown)
Overview
When passing UpdateGameSessionInput as input to an Aws::Client method, you can use a vanilla Hash:
{
game_session_id: "ArnStringModel", # required
maximum_player_session_count: 1,
name: "NonZeroAndMaxString",
player_session_creation_policy: "ACCEPT_ALL", # accepts ACCEPT_ALL, DENY_ALL
protection_policy: "NoProtection", # accepts NoProtection, FullProtection
}
Represents the input for a request operation.
Instance Attribute Summary collapse
-
#game_session_id ⇒ String
A unique identifier for the game session to update.
-
#maximum_player_session_count ⇒ Integer
The maximum number of players that can be connected simultaneously to the game session.
-
#name ⇒ String
A descriptive label that is associated with a game session.
-
#player_session_creation_policy ⇒ String
Policy determining whether or not the game session accepts new players.
-
#protection_policy ⇒ String
Game session protection policy to apply to this game session only.
Instance Attribute Details
#game_session_id ⇒ String
A unique identifier for the game session to update.
#maximum_player_session_count ⇒ Integer
The maximum number of players that can be connected simultaneously to the game session.
#name ⇒ String
A descriptive label that is associated with a game session. Session names do not need to be unique.
#player_session_creation_policy ⇒ String
Policy determining whether or not the game session accepts new players.
Possible values:
- ACCEPT_ALL
- DENY_ALL
#protection_policy ⇒ String
Game session protection policy to apply to this game session only.
NoProtection -- The game session can be terminated during a scale-down event.
FullProtection -- If the game session is in an
ACTIVE
status, it cannot be terminated during a scale-down event.Possible values:
- NoProtection
- FullProtection