public static final class CfnGameSessionQueue.Builder
extends java.lang.Object
CfnGameSessionQueue
.Modifier and Type | Method and Description |
---|---|
CfnGameSessionQueue |
build() |
static CfnGameSessionQueue.Builder |
create(Construct scope,
java.lang.String id) |
CfnGameSessionQueue.Builder |
customEventData(java.lang.String customEventData)
Information to be added to all events that are related to this game session queue.
|
CfnGameSessionQueue.Builder |
destinations(IResolvable destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
|
CfnGameSessionQueue.Builder |
destinations(java.util.List<? extends java.lang.Object> destinations)
A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
|
CfnGameSessionQueue.Builder |
filterConfiguration(CfnGameSessionQueue.FilterConfigurationProperty filterConfiguration)
A list of locations where a queue is allowed to place new game sessions.
|
CfnGameSessionQueue.Builder |
filterConfiguration(IResolvable filterConfiguration)
A list of locations where a queue is allowed to place new game sessions.
|
CfnGameSessionQueue.Builder |
name(java.lang.String name)
A descriptive label that is associated with game session queue.
|
CfnGameSessionQueue.Builder |
notificationTarget(java.lang.String notificationTarget)
An SNS topic ARN that is set up to receive game session placement notifications.
|
CfnGameSessionQueue.Builder |
playerLatencyPolicies(IResolvable playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency.
|
CfnGameSessionQueue.Builder |
playerLatencyPolicies(java.util.List<? extends java.lang.Object> playerLatencyPolicies)
A set of policies that act as a sliding cap on player latency.
|
CfnGameSessionQueue.Builder |
priorityConfiguration(CfnGameSessionQueue.PriorityConfigurationProperty priorityConfiguration)
Custom settings to use when prioritizing destinations and locations for game session placements.
|
CfnGameSessionQueue.Builder |
priorityConfiguration(IResolvable priorityConfiguration)
Custom settings to use when prioritizing destinations and locations for game session placements.
|
CfnGameSessionQueue.Builder |
tags(java.util.List<? extends CfnTag> tags)
A list of labels to assign to the new game session queue resource.
|
CfnGameSessionQueue.Builder |
timeoutInSeconds(java.lang.Number timeoutInSeconds)
The maximum time, in seconds, that a new game session placement request remains in the queue.
|
public static CfnGameSessionQueue.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnGameSessionQueue.DestinationProperty.Builder
.public CfnGameSessionQueue.Builder name(java.lang.String name)
Queue names must be unique within each Region.
name
- A descriptive label that is associated with game session queue. This parameter is required.this
public CfnGameSessionQueue.Builder customEventData(java.lang.String customEventData)
customEventData
- Information to be added to all events that are related to this game session queue. This parameter is required.this
public CfnGameSessionQueue.Builder destinations(IResolvable destinations)
Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. This parameter is required.this
public CfnGameSessionQueue.Builder destinations(java.util.List<? extends java.lang.Object> destinations)
Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
destinations
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. This parameter is required.this
public CfnGameSessionQueue.Builder filterConfiguration(IResolvable filterConfiguration)
Locations are specified in the form of AWS Region codes, such as us-west-2
. If this parameter is not set, game sessions can be placed in any queue location.
filterConfiguration
- A list of locations where a queue is allowed to place new game sessions. This parameter is required.this
public CfnGameSessionQueue.Builder filterConfiguration(CfnGameSessionQueue.FilterConfigurationProperty filterConfiguration)
Locations are specified in the form of AWS Region codes, such as us-west-2
. If this parameter is not set, game sessions can be placed in any queue location.
filterConfiguration
- A list of locations where a queue is allowed to place new game sessions. This parameter is required.this
public CfnGameSessionQueue.Builder notificationTarget(java.lang.String notificationTarget)
notificationTarget
- An SNS topic ARN that is set up to receive game session placement notifications. This parameter is required.this
public CfnGameSessionQueue.Builder playerLatencyPolicies(IResolvable playerLatencyPolicies)
FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency. This parameter is required.this
public CfnGameSessionQueue.Builder playerLatencyPolicies(java.util.List<? extends java.lang.Object> playerLatencyPolicies)
FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value.
playerLatencyPolicies
- A set of policies that act as a sliding cap on player latency. This parameter is required.this
public CfnGameSessionQueue.Builder priorityConfiguration(IResolvable priorityConfiguration)
This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
priorityConfiguration
- Custom settings to use when prioritizing destinations and locations for game session placements. This parameter is required.this
public CfnGameSessionQueue.Builder priorityConfiguration(CfnGameSessionQueue.PriorityConfigurationProperty priorityConfiguration)
This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process.
priorityConfiguration
- Custom settings to use when prioritizing destinations and locations for game session placements. This parameter is required.this
public CfnGameSessionQueue.Builder tags(java.util.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 game session queue resource. This parameter is required.this
public CfnGameSessionQueue.Builder timeoutInSeconds(java.lang.Number timeoutInSeconds)
When a request exceeds this time, the game session placement changes to a TIMED_OUT
status.
timeoutInSeconds
- The maximum time, in seconds, that a new game session placement request remains in the queue. This parameter is required.this
public CfnGameSessionQueue build()