Interface CfnMatchmakingRuleSetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMatchmakingRuleSetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.912Z") @Stability(Stable) public interface CfnMatchmakingRuleSetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnMatchmakingRuleSet.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.gamelift.*;
 CfnMatchmakingRuleSetProps cfnMatchmakingRuleSetProps = CfnMatchmakingRuleSetProps.builder()
         .name("name")
         .ruleSetBody("ruleSetBody")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      A unique identifier for the matchmaking rule set.

      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.

    • getRuleSetBody

      @Stability(Stable) @NotNull String getRuleSetBody()
      A collection of matchmaking rules, formatted as a JSON string.

      Comments are not allowed in JSON, but most elements support a description field.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of labels to assign to the new matchmaking rule set resource.

      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.

    • builder

      @Stability(Stable) static CfnMatchmakingRuleSetProps.Builder builder()
      Returns:
      a CfnMatchmakingRuleSetProps.Builder of CfnMatchmakingRuleSetProps