interface MatchmakingRuleSetProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.Alpha.MatchmakingRuleSetProps |
Go | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#MatchmakingRuleSetProps |
Java | software.amazon.awscdk.services.gamelift.alpha.MatchmakingRuleSetProps |
Python | aws_cdk.aws_gamelift_alpha.MatchmakingRuleSetProps |
TypeScript (source) | @aws-cdk/aws-gamelift-alpha » MatchmakingRuleSetProps |
Properties for a new matchmaking ruleSet.
Example
new gamelift.MatchmakingRuleSet(this, 'RuleSet', {
matchmakingRuleSetName: 'my-test-ruleset',
content: gamelift.RuleSetContent.fromJsonFile(path.join(__dirname, 'my-ruleset', 'ruleset.json')),
});
Properties
Name | Type | Description |
---|---|---|
content | Rule | A collection of matchmaking rules. |
matchmaking | string | A unique identifier for the matchmaking rule set. |
content
Type:
Rule
A collection of matchmaking rules.
matchmakingRuleSetName
Type:
string
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