Class: AWSCDK::Interfaces::AWSGamelift::MatchmakingRuleSetReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSGamelift::MatchmakingRuleSetReference
- Defined in:
- interfaces/aws_gamelift/matchmaking_rule_set_reference.rb
Overview
A reference to a MatchmakingRuleSet resource.
Instance Attribute Summary collapse
-
#matchmaking_rule_set_arn ⇒ String
readonly
The ARN of the MatchmakingRuleSet resource.
-
#matchmaking_rule_set_name ⇒ String
readonly
The Name of the MatchmakingRuleSet resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(matchmaking_rule_set_arn:, matchmaking_rule_set_name:) ⇒ MatchmakingRuleSetReference
constructor
A new instance of MatchmakingRuleSetReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(matchmaking_rule_set_arn:, matchmaking_rule_set_name:) ⇒ MatchmakingRuleSetReference
Returns a new instance of MatchmakingRuleSetReference.
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_arn ⇒ String (readonly)
The ARN of the MatchmakingRuleSet resource.
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_name ⇒ String (readonly)
The Name of the MatchmakingRuleSet resource.
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_properties ⇒ Object
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_jsii ⇒ Object
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 |