@Stability(value=Stable) public static final class CfnMatchmakingConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnMatchmakingConfiguration>
CfnMatchmakingConfiguration.| Modifier and Type | Method and Description |
|---|---|
CfnMatchmakingConfiguration.Builder |
acceptanceRequired(Boolean acceptanceRequired)
A flag that determines whether a match that was created with this configuration must be accepted by the matched players.
|
CfnMatchmakingConfiguration.Builder |
acceptanceRequired(IResolvable acceptanceRequired)
A flag that determines whether a match that was created with this configuration must be accepted by the matched players.
|
CfnMatchmakingConfiguration.Builder |
acceptanceTimeoutSeconds(Number acceptanceTimeoutSeconds)
The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.
|
CfnMatchmakingConfiguration.Builder |
additionalPlayerCount(Number additionalPlayerCount)
The number of player slots in a match to keep open for future players.
|
CfnMatchmakingConfiguration.Builder |
backfillMode(String backfillMode)
The method used to backfill game sessions that are created with this matchmaking configuration.
|
CfnMatchmakingConfiguration |
build() |
static CfnMatchmakingConfiguration.Builder |
create(software.constructs.Construct scope,
String id) |
CfnMatchmakingConfiguration.Builder |
customEventData(String customEventData)
Information to add to all events related to the matchmaking configuration.
|
CfnMatchmakingConfiguration.Builder |
description(String description)
A descriptive label that is associated with matchmaking configuration.
|
CfnMatchmakingConfiguration.Builder |
flexMatchMode(String flexMatchMode)
Indicates whether this matchmaking configuration is being used with GameLift hosting or as a standalone matchmaking solution.
|
CfnMatchmakingConfiguration.Builder |
gameProperties(IResolvable gameProperties)
A set of custom properties for a game session, formatted as key-value pairs.
|
CfnMatchmakingConfiguration.Builder |
gameProperties(List<? extends Object> gameProperties)
A set of custom properties for a game session, formatted as key-value pairs.
|
CfnMatchmakingConfiguration.Builder |
gameSessionData(String gameSessionData)
A set of custom game session properties, formatted as a single string value.
|
CfnMatchmakingConfiguration.Builder |
gameSessionQueueArns(List<String> gameSessionQueueArns)
The Amazon Resource Name ( [ARN](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) ) that is assigned to a GameLift game session queue resource and uniquely identifies it.
|
CfnMatchmakingConfiguration.Builder |
name(String name)
A unique identifier for the matchmaking configuration.
|
CfnMatchmakingConfiguration.Builder |
notificationTarget(String notificationTarget)
An SNS topic ARN that is set up to receive matchmaking notifications.
|
CfnMatchmakingConfiguration.Builder |
requestTimeoutSeconds(Number requestTimeoutSeconds)
The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out.
|
CfnMatchmakingConfiguration.Builder |
ruleSetName(String ruleSetName)
A unique identifier for the matchmaking rule set to use with this configuration.
|
CfnMatchmakingConfiguration.Builder |
tags(List<? extends CfnTag> tags)
A list of labels to assign to the new matchmaking configuration resource.
|
@Stability(value=Stable) public static CfnMatchmakingConfiguration.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnMatchmakingConfiguration.GamePropertyProperty.Builder.@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder acceptanceRequired(Boolean acceptanceRequired)
To require acceptance, set to TRUE . With this option enabled, matchmaking tickets use the status REQUIRES_ACCEPTANCE to indicate when a completed potential match is waiting for player acceptance.
acceptanceRequired - A flag that determines whether a match that was created with this configuration must be accepted by the matched players. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder acceptanceRequired(IResolvable acceptanceRequired)
To require acceptance, set to TRUE . With this option enabled, matchmaking tickets use the status REQUIRES_ACCEPTANCE to indicate when a completed potential match is waiting for player acceptance.
acceptanceRequired - A flag that determines whether a match that was created with this configuration must be accepted by the matched players. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder name(String name)
This name is used to identify the configuration associated with a matchmaking request or ticket.
name - A unique identifier for the matchmaking configuration. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder requestTimeoutSeconds(Number requestTimeoutSeconds)
Requests that fail due to timing out can be resubmitted as needed.
requestTimeoutSeconds - The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder ruleSetName(String ruleSetName)
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.
ruleSetName - A unique identifier for the matchmaking rule set to use with this configuration. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder acceptanceTimeoutSeconds(Number acceptanceTimeoutSeconds)
acceptanceTimeoutSeconds - The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder additionalPlayerCount(Number additionalPlayerCount)
For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match. This parameter is not used if FlexMatchMode is set to STANDALONE .
additionalPlayerCount - The number of player slots in a match to keep open for future players. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder backfillMode(String backfillMode)
Specify MANUAL when your game manages backfill requests manually or does not use the match backfill feature. Specify AUTOMATIC to have GameLift create a StartMatchBackfill request whenever a game session has one or more open slots. Learn more about manual and automatic backfill in Backfill Existing Games with FlexMatch . Automatic backfill is not available when FlexMatchMode is set to STANDALONE .
backfillMode - The method used to backfill game sessions that are created with this matchmaking configuration. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder customEventData(String customEventData)
customEventData - Information to add to all events related to the matchmaking configuration. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder description(String description)
description - A descriptive label that is associated with matchmaking configuration. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder flexMatchMode(String flexMatchMode)
flexMatchMode - Indicates whether this matchmaking configuration is being used with GameLift hosting or as a standalone matchmaking solution. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder gameProperties(IResolvable gameProperties)
These properties are passed to a game server process with a request to start a new game session. See Start a Game Session . This parameter is not used if FlexMatchMode is set to STANDALONE .
gameProperties - A set of custom properties for a game session, formatted as key-value pairs. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder gameProperties(List<? extends Object> gameProperties)
These properties are passed to a game server process with a request to start a new game session. See Start a Game Session . This parameter is not used if FlexMatchMode is set to STANDALONE .
gameProperties - A set of custom properties for a game session, formatted as key-value pairs. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder gameSessionData(String gameSessionData)
This data is passed to a game server process with a request to start a new game session. See Start a Game Session . This parameter is not used if FlexMatchMode is set to STANDALONE .
gameSessionData - A set of custom game session properties, formatted as a single string value. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder gameSessionQueueArns(List<String> gameSessionQueueArns)
gameSessionQueueArns - The Amazon Resource Name ( [ARN](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) ) that is assigned to a GameLift game session queue resource and uniquely identifies it. ARNs are unique across all Regions. Format is `arn:aws:gamelift:this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder notificationTarget(String notificationTarget)
See Setting up notifications for matchmaking for more information.
notificationTarget - An SNS topic ARN that is set up to receive matchmaking notifications. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration.Builder tags(List<? extends CfnTag> tags)
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.
tags - A list of labels to assign to the new matchmaking configuration resource. This parameter is required.this@Stability(value=Stable) public CfnMatchmakingConfiguration build()
build in interface software.amazon.jsii.Builder<CfnMatchmakingConfiguration>Copyright © 2022. All rights reserved.