Class: AWSCDK::Interfaces::AWSGamelift::MatchmakingRuleSetReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_gamelift/matchmaking_rule_set_reference.rb

Overview

A reference to a MatchmakingRuleSet resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(matchmaking_rule_set_arn:, matchmaking_rule_set_name:) ⇒ MatchmakingRuleSetReference

Returns a new instance of MatchmakingRuleSetReference.

Parameters:

  • matchmaking_rule_set_arn (String)

    The ARN of the MatchmakingRuleSet resource.

  • matchmaking_rule_set_name (String)

    The Name of the MatchmakingRuleSet resource.



9
10
11
12
13
14
# File 'interfaces/aws_gamelift/matchmaking_rule_set_reference.rb', line 9

def initialize(matchmaking_rule_set_arn:, matchmaking_rule_set_name:)
  @matchmaking_rule_set_arn = matchmaking_rule_set_arn
  Jsii::Type.check_type(@matchmaking_rule_set_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchmakingRuleSetArn")
  @matchmaking_rule_set_name = matchmaking_rule_set_name
  Jsii::Type.check_type(@matchmaking_rule_set_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchmakingRuleSetName")
end

Instance Attribute Details

#matchmaking_rule_set_arnString (readonly)

The ARN of the MatchmakingRuleSet resource.

Returns:

  • (String)


19
20
21
# File 'interfaces/aws_gamelift/matchmaking_rule_set_reference.rb', line 19

def matchmaking_rule_set_arn
  @matchmaking_rule_set_arn
end

#matchmaking_rule_set_nameString (readonly)

The Name of the MatchmakingRuleSet resource.

Returns:

  • (String)


23
24
25
# File 'interfaces/aws_gamelift/matchmaking_rule_set_reference.rb', line 23

def matchmaking_rule_set_name
  @matchmaking_rule_set_name
end

Class Method Details

.jsii_propertiesObject



25
26
27
28
29
30
# File 'interfaces/aws_gamelift/matchmaking_rule_set_reference.rb', line 25

def self.jsii_properties
  {
    :matchmaking_rule_set_arn => "matchmakingRuleSetArn",
    :matchmaking_rule_set_name => "matchmakingRuleSetName",
  }
end

Instance Method Details

#to_jsiiObject



32
33
34
35
36
37
38
39
# File 'interfaces/aws_gamelift/matchmaking_rule_set_reference.rb', line 32

def to_jsii
  result = {}
  result.merge!({
    "matchmakingRuleSetArn" => @matchmaking_rule_set_arn,
    "matchmakingRuleSetName" => @matchmaking_rule_set_name,
  })
  result.compact
end