Class: AWSCDK::Interfaces::AWSGamelift::GameServerGroupReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSGamelift::GameServerGroupReference
- Defined in:
- interfaces/aws_gamelift/game_server_group_reference.rb
Overview
A reference to a GameServerGroup resource.
Instance Attribute Summary collapse
-
#game_server_group_arn ⇒ String
readonly
The GameServerGroupArn of the GameServerGroup resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(game_server_group_arn:) ⇒ GameServerGroupReference
constructor
A new instance of GameServerGroupReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(game_server_group_arn:) ⇒ GameServerGroupReference
Returns a new instance of GameServerGroupReference.
8 9 10 11 |
# File 'interfaces/aws_gamelift/game_server_group_reference.rb', line 8 def initialize(game_server_group_arn:) @game_server_group_arn = game_server_group_arn Jsii::Type.check_type(@game_server_group_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gameServerGroupArn") end |
Instance Attribute Details
#game_server_group_arn ⇒ String (readonly)
The GameServerGroupArn of the GameServerGroup resource.
16 17 18 |
# File 'interfaces/aws_gamelift/game_server_group_reference.rb', line 16 def game_server_group_arn @game_server_group_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_gamelift/game_server_group_reference.rb', line 18 def self.jsii_properties { :game_server_group_arn => "gameServerGroupArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_gamelift/game_server_group_reference.rb', line 24 def to_jsii result = {} result.merge!({ "gameServerGroupArn" => @game_server_group_arn, }) result.compact end |