import { GamePropertyProps } from './matchmakingconfiguration/GamePropertyProps';
import { Value } from '../../cloudformation/Value';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type MatchmakingConfigurationAttributes = {
    Arn: Attribute<string>;
    Name: Attribute<string>;
};
export type MatchmakingConfiguration = AwsResource<'AWS::GameLift::MatchmakingConfiguration', MatchmakingConfigurationProperties, MatchmakingConfigurationAttributes>;
/**
  The <code>AWS::GameLift::MatchmakingConfiguration</code> resource defines a new matchmaking configuration for use with FlexMatch. Whether you’re using FlexMatch with GameLift hosting or as a standalone matchmaking service, the matchmaking configuration sets out rules for matching players and forming teams. If you’re using GameLift hosting, it also defines how to start game sessions for each match. Your matchmaking system can use multiple configurations to handle different game scenarios. All matchmaking requests identify the matchmaking configuration to use and provide player attributes that are consistent with that configuration.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html">the AWS Docs</a>
*/
export declare function matchmakingConfiguration(matchmakingConfigurationProps: MatchmakingConfigurationProperties): MatchmakingConfiguration;
/**
  The <code>AWS::GameLift::MatchmakingConfiguration</code> resource defines a new matchmaking configuration for use with FlexMatch. Whether you’re using FlexMatch with GameLift hosting or as a standalone matchmaking service, the matchmaking configuration sets out rules for matching players and forming teams. If you’re using GameLift hosting, it also defines how to start game sessions for each match. Your matchmaking system can use multiple configurations to handle different game scenarios. All matchmaking requests identify the matchmaking configuration to use and provide player attributes that are consistent with that configuration.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-matchmakingconfiguration.html">the AWS Docs</a>
*/
export interface MatchmakingConfigurationProperties {
    /** <code>GameProperties</code>  <a name="cfn-gamelift-matchmakingconfiguration-gameproperties"></a>
  A set of custom properties for a game session, formatted as key-value pairs. These properties are passed to a game server process with a request to start a new game session. See <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession"> Start a Game Session</a>. This parameter is not used if <code>FlexMatchMode</code> is set to <code>STANDALONE</code>.<br />
  
  Required: No<br />
  
  Maximum: <code>16</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gameProperties?: GamePropertyProps[];
    /** <code>GameSessionData</code>  <a name="cfn-gamelift-matchmakingconfiguration-gamesessiondata"></a>
  A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session. See <a href="https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession">Start a Game Session</a>. This parameter is not used if<code>FlexMatchMode</code> is set to <code>STANDALONE</code>.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>4096</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gameSessionData?: Value<string>;
    /** <code>Description</code>  <a name="cfn-gamelift-matchmakingconfiguration-description"></a>
  A description for the matchmaking configuration.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1024</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    description?: Value<string>;
    /** <code>AcceptanceTimeoutSeconds</code>  <a name="cfn-gamelift-matchmakingconfiguration-acceptancetimeoutseconds"></a>
  The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>600</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    acceptanceTimeoutSeconds?: Value<number>;
    /** <code>NotificationTarget</code>  <a name="cfn-gamelift-matchmakingconfiguration-notificationtarget"></a>
  An SNS topic ARN that is set up to receive matchmaking notifications. See <a href="https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html"> Setting up notifications for matchmaking</a> for more information.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>300</code><br />
  
  Pattern: <code>[a-zA-Z0-9:_/-]*(.fifo)?</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    notificationTarget?: Value<string>;
    /** <code>CustomEventData</code>  <a name="cfn-gamelift-matchmakingconfiguration-customeventdata"></a>
  Information to add to all events related to the matchmaking configuration.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>256</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    customEventData?: Value<string>;
    /** <code>Name</code>  <a name="cfn-gamelift-matchmakingconfiguration-name"></a>
  A unique identifier for the matchmaking configuration. This name is used to identify the configuration associated with a matchmaking request or ticket.<br />
  
  Required: Yes<br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>[a-zA-Z0-9-\.]*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name: Value<string>;
    /** <code>AdditionalPlayerCount</code>  <a name="cfn-gamelift-matchmakingconfiguration-additionalplayercount"></a>
  The number of player slots in a match to keep open for future players. For example, if the configuration’s rule set specifies a match for a single 10-person team, and the additional player count is set to 2, 10 players will be selected for the match and 2 more player slots will be open for future players. This parameter is not used if <code>FlexMatchMode</code> is set to <code>STANDALONE</code>.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    additionalPlayerCount?: Value<number>;
    /** <code>BackfillMode</code>  <a name="cfn-gamelift-matchmakingconfiguration-backfillmode"></a>
  The method used to backfill game sessions that are created with this matchmaking configuration. Specify <code>MANUAL</code> when your game manages backfill requests manually or does not use the match backfill feature. Specify <code>AUTOMATIC</code> to have GameLift create a <code>StartMatchBackfill</code> request whenever a game session has one or more open slots. Learn more about manual and automatic backfill in <a href="https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-backfill.html">Backfill Existing Games with FlexMatch</a>. Automatic backfill is not available when <code>FlexMatchMode</code> is set to <code>STANDALONE</code>.<br />
  
  Required: No<br />
  
  Allowed values: <code>AUTOMATIC | MANUAL</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    backfillMode?: Value<'AUTOMATIC' | 'MANUAL'>;
    /** <code>RequestTimeoutSeconds</code>  <a name="cfn-gamelift-matchmakingconfiguration-requesttimeoutseconds"></a>
  The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that fail due to timing out can be resubmitted as needed.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>43200</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    requestTimeoutSeconds: Value<number>;
    /** <code>AcceptanceRequired</code>  <a name="cfn-gamelift-matchmakingconfiguration-acceptancerequired"></a>
  A flag that determines whether a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to <code>TRUE</code>. With this option enabled, matchmaking tickets use the status <code>REQUIRES_ACCEPTANCE</code> to indicate when a completed potential match is waiting for player acceptance.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    acceptanceRequired: Value<boolean>;
    /** <p> */
    flexMatchMode?: Value<string>;
    /** <code>RuleSetName</code>  <a name="cfn-gamelift-matchmakingconfiguration-rulesetname"></a>
  A unique identifier for the matchmaking rule set to use with this configuration. You can use either the rule set name or ARN value. A matchmaking configuration can only use rule sets that are defined in the same Region.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</code><br />
  
  Pattern: <code>[a-zA-Z0-9-\.]*|^arn:.*:matchmakingruleset\/[a-zA-Z0-9-\.]*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    ruleSetName: Value<string>;
    /** <code>GameSessionQueueArns</code>  <a name="cfn-gamelift-matchmakingconfiguration-gamesessionqueuearns"></a>
  The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique across all Regions. Format is <code>arn:aws:gamelift:&lt;region&gt;::gamesessionqueue/&lt;queue name&gt;</code>. Queues can be located in any Region. Queues are used to start new Amazon GameLift-hosted game sessions for matches that are created with this matchmaking configuration. If <code>FlexMatchMode</code> is set to <code>STANDALONE</code>, do not set this parameter.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gameSessionQueueArns?: Value<Value<string>[]>;
    /** <code>Tags</code>  <a name="cfn-gamelift-matchmakingconfiguration-tags"></a>
  A list of labels to assign to the new matchmaking configuration 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 <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html"> Tagging AWS Resources</a> 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.<br />
  
  Required: No<br />
  
  Maximum: <code>200</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
}
