Class: AWSCDK::GameLift::CfnFleet::PlayerGatewayConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GameLift::CfnFleet::PlayerGatewayConfigurationProperty
- Defined in:
- game_lift/cfn_fleet.rb
Overview
Configuration for player gateway.
Instance Attribute Summary collapse
-
#game_server_ip_protocol_supported ⇒ String?
readonly
The IP protocol supported by the game server.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(game_server_ip_protocol_supported: nil) ⇒ PlayerGatewayConfigurationProperty
constructor
A new instance of PlayerGatewayConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(game_server_ip_protocol_supported: nil) ⇒ PlayerGatewayConfigurationProperty
Returns a new instance of PlayerGatewayConfigurationProperty.
1270 1271 1272 1273 |
# File 'game_lift/cfn_fleet.rb', line 1270 def initialize(game_server_ip_protocol_supported: nil) @game_server_ip_protocol_supported = game_server_ip_protocol_supported Jsii::Type.check_type(@game_server_ip_protocol_supported, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gameServerIpProtocolSupported") unless @game_server_ip_protocol_supported.nil? end |
Instance Attribute Details
#game_server_ip_protocol_supported ⇒ String? (readonly)
The IP protocol supported by the game server.
1279 1280 1281 |
# File 'game_lift/cfn_fleet.rb', line 1279 def game_server_ip_protocol_supported @game_server_ip_protocol_supported end |
Class Method Details
.jsii_properties ⇒ Object
1281 1282 1283 1284 1285 |
# File 'game_lift/cfn_fleet.rb', line 1281 def self.jsii_properties { :game_server_ip_protocol_supported => "gameServerIpProtocolSupported", } end |
Instance Method Details
#to_jsii ⇒ Object
1287 1288 1289 1290 1291 1292 1293 |
# File 'game_lift/cfn_fleet.rb', line 1287 def to_jsii result = {} result.merge!({ "gameServerIpProtocolSupported" => @game_server_ip_protocol_supported, }) result.compact end |