Skip to content
v2.274.0

Experimental

@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

MatchmakingRuleSetProps Struct ​

Properties for a new matchmaking ruleSet.

Example ​

ts
new gamelift.MatchmakingRuleSet(this, 'RuleSet', {
  matchmakingRuleSetName: 'my-test-ruleset',
  content: gamelift.RuleSetContent.fromJsonFile(path.join(__dirname, 'my-ruleset', 'ruleset.json')),
});

Properties ​

A collection of matchmaking rules.
matchmakingRuleSetNamestringmatchmaking_rule_set_namestrmatchmakingRuleSetNameStringMatchmakingRuleSetNamestringMatchmakingRuleSetName*stringrequired#
A unique identifier for the matchmaking rule set.

A matchmaking configuration identifies the rule set it uses by this name value.

Note: the rule set name is different from the optional name field in the rule set body