Class: AWSCDK::GameLift::CfnFleet::PlayerGatewayConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
game_lift/cfn_fleet.rb

Overview

Configuration for player gateway.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(game_server_ip_protocol_supported: nil) ⇒ PlayerGatewayConfigurationProperty

Returns a new instance of PlayerGatewayConfigurationProperty.

Parameters:

  • game_server_ip_protocol_supported (String, nil) (defaults to: nil)

    The IP protocol supported by the game server.



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_supportedString? (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_propertiesObject



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_jsiiObject



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