Class CfnGameSessionQueuePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGameSessionQueuePropsMixin>
- Enclosing class:
CfnGameSessionQueuePropsMixin
CfnGameSessionQueuePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) customEventData(String customEventData) Information to be added to all events that are related to this game session queue.destinations(List<? extends Object> destinations) A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.destinations(IResolvable destinations) A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.filterConfiguration(CfnGameSessionQueuePropsMixin.FilterConfigurationProperty filterConfiguration) A list of locations where a queue is allowed to place new game sessions.filterConfiguration(IResolvable filterConfiguration) A list of locations where a queue is allowed to place new game sessions.A descriptive label that is associated with game session queue.notificationTarget(String notificationTarget) An SNS topic ARN that is set up to receive game session placement notifications.playerLatencyPolicies(List<? extends Object> playerLatencyPolicies) A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests.playerLatencyPolicies(IResolvable playerLatencyPolicies) A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests.priorityConfiguration(CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty priorityConfiguration) Custom settings to use when prioritizing destinations and locations for game session placements.priorityConfiguration(IResolvable priorityConfiguration) Custom settings to use when prioritizing destinations and locations for game session placements.A list of labels to assign to the new game session queue resource.timeoutInSeconds(Number timeoutInSeconds) The maximum time, in seconds, that a new game session placement request remains in the queue.
-
Method Details
-
create
@Stability(Stable) public static CfnGameSessionQueuePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGameSessionQueuePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGameSessionQueuePropsMixin.Builder.
-
customEventData
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder customEventData(String customEventData) Information to be added to all events that are related to this game session queue.- Parameters:
customEventData- Information to be added to all events that are related to this game session queue. This parameter is required.- Returns:
this- See Also:
-
destinations
@Stability(Stable) public CfnGameSessionQueuePropsMixin.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.Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
- Parameters:
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.- Returns:
this- See Also:
-
destinations
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder destinations(List<? extends Object> destinations) A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
- Parameters:
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.- Returns:
this- See Also:
-
filterConfiguration
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder filterConfiguration(IResolvable filterConfiguration) A list of locations where a queue is allowed to place new game sessions.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.- Parameters:
filterConfiguration- A list of locations where a queue is allowed to place new game sessions. This parameter is required.- Returns:
this- See Also:
-
filterConfiguration
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder filterConfiguration(CfnGameSessionQueuePropsMixin.FilterConfigurationProperty filterConfiguration) A list of locations where a queue is allowed to place new game sessions.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.- Parameters:
filterConfiguration- A list of locations where a queue is allowed to place new game sessions. This parameter is required.- Returns:
this- See Also:
-
name
A descriptive label that is associated with game session queue.Queue names must be unique within each Region.
- Parameters:
name- A descriptive label that is associated with game session queue. This parameter is required.- Returns:
this- See Also:
-
notificationTarget
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder notificationTarget(String notificationTarget) An SNS topic ARN that is set up to receive game session placement notifications.- Parameters:
notificationTarget- An SNS topic ARN that is set up to receive game session placement notifications. This parameter is required.- Returns:
this- See Also:
-
playerLatencyPolicies
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder playerLatencyPolicies(IResolvable playerLatencyPolicies) A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests.Use multiple policies to gradually relax the cap over time if Amazon GameLift Servers can't make a placement. Policies are evaluated in order starting with the lowest maximum latency value.
- Parameters:
playerLatencyPolicies- A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests. This parameter is required.- Returns:
this- See Also:
-
playerLatencyPolicies
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder playerLatencyPolicies(List<? extends Object> playerLatencyPolicies) A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests.Use multiple policies to gradually relax the cap over time if Amazon GameLift Servers can't make a placement. Policies are evaluated in order starting with the lowest maximum latency value.
- Parameters:
playerLatencyPolicies- A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests. This parameter is required.- Returns:
this- See Also:
-
priorityConfiguration
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder priorityConfiguration(IResolvable priorityConfiguration) Custom settings to use when prioritizing destinations and locations for game session placements.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.
- Parameters:
priorityConfiguration- Custom settings to use when prioritizing destinations and locations for game session placements. This parameter is required.- Returns:
this- See Also:
-
priorityConfiguration
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder priorityConfiguration(CfnGameSessionQueuePropsMixin.PriorityConfigurationProperty priorityConfiguration) Custom settings to use when prioritizing destinations and locations for game session placements.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.
- Parameters:
priorityConfiguration- Custom settings to use when prioritizing destinations and locations for game session placements. This parameter is required.- Returns:
this- See Also:
-
tags
A list of labels to assign to the new game session queue 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.
- Parameters:
tags- A list of labels to assign to the new game session queue resource. This parameter is required.- Returns:
this- See Also:
-
timeoutInSeconds
@Stability(Stable) public CfnGameSessionQueuePropsMixin.Builder timeoutInSeconds(Number timeoutInSeconds) The maximum time, in seconds, that a new game session placement request remains in the queue.When a request exceeds this time, the game session placement changes to a
TIMED_OUTstatus. If you don't specify a request timeout, the queue uses a default value.- Parameters:
timeoutInSeconds- The maximum time, in seconds, that a new game session placement request remains in the queue. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGameSessionQueuePropsMixin>- Returns:
- a newly built instance of
CfnGameSessionQueuePropsMixin.
-