Class CfnMatchmakingRuleSetProps
Properties for defining a CfnMatchmakingRuleSet
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMatchmakingRuleSetProps : Object, ICfnMatchmakingRuleSetProps
Syntax (vb)
Public Class CfnMatchmakingRuleSetProps
Inherits Object
Implements ICfnMatchmakingRuleSetProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;
var cfnMatchmakingRuleSetProps = new CfnMatchmakingRuleSetProps {
Name = "name",
RuleSetBody = "ruleSetBody",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnMatchmakingRuleSetProps() |
Properties
Name | A unique identifier for the matchmaking rule set. |
RuleSetBody | A collection of matchmaking rules, formatted as a JSON string. |
Tags | A list of labels to assign to the new matchmaking rule set resource. |
Constructors
CfnMatchmakingRuleSetProps()
public CfnMatchmakingRuleSetProps()
Properties
Name
A unique identifier for the matchmaking rule set.
public string Name { get; set; }
Property Value
System.String
Remarks
A matchmaking configuration identifies the rule set it uses by this name value. Note that the rule set name is different from the optional name
field in the rule set body.
RuleSetBody
A collection of matchmaking rules, formatted as a JSON string.
public string RuleSetBody { get; set; }
Property Value
System.String
Remarks
Comments are not allowed in JSON, but most elements support a description field.
Tags
A list of labels to assign to the new matchmaking rule set resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference . Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.