We recommend new projects start with resources from the AWS provider.
aws-native.gamelift.GameSessionQueue
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::GameLift::GameSessionQueue resource creates an Amazon GameLift (GameLift) game session queue.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var queue = new AwsNative.GameLift.GameSessionQueue("queue", new()
{
Name = "MyGameSessionQueue",
TimeoutInSeconds = 60,
NotificationTarget = "arn:aws:sns:us-west-2:111122223333:My_Placement_SNS_Topic",
Destinations = new[]
{
new AwsNative.GameLift.Inputs.GameSessionQueueDestinationArgs
{
DestinationArn = "arn:aws:gamelift:us-west-2:012345678912:fleet/fleet-id",
},
new AwsNative.GameLift.Inputs.GameSessionQueueDestinationArgs
{
DestinationArn = "arn:aws:gamelift:us-west-2:012345678912:alias/alias-id",
},
},
PlayerLatencyPolicies = new[]
{
new AwsNative.GameLift.Inputs.GameSessionQueuePlayerLatencyPolicyArgs
{
MaximumIndividualPlayerLatencyMilliseconds = 1000,
PolicyDurationSeconds = 60,
},
},
PriorityConfiguration = new AwsNative.GameLift.Inputs.GameSessionQueuePriorityConfigurationArgs
{
LocationOrder = new[]
{
"us-west-2",
"us-east-1",
},
PriorityOrder = new[]
{
AwsNative.GameLift.GameSessionQueuePriorityOrderItem.Cost,
AwsNative.GameLift.GameSessionQueuePriorityOrderItem.Latency,
AwsNative.GameLift.GameSessionQueuePriorityOrderItem.Location,
AwsNative.GameLift.GameSessionQueuePriorityOrderItem.Destination,
},
},
FilterConfiguration = new AwsNative.GameLift.Inputs.GameSessionQueueFilterConfigurationArgs
{
AllowedLocations = new[]
{
"us-east-1",
"us-west-2",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/gamelift"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gamelift.NewGameSessionQueue(ctx, "queue", &gamelift.GameSessionQueueArgs{
Name: pulumi.String("MyGameSessionQueue"),
TimeoutInSeconds: pulumi.Int(60),
NotificationTarget: pulumi.String("arn:aws:sns:us-west-2:111122223333:My_Placement_SNS_Topic"),
Destinations: gamelift.GameSessionQueueDestinationArray{
&gamelift.GameSessionQueueDestinationArgs{
DestinationArn: pulumi.String("arn:aws:gamelift:us-west-2:012345678912:fleet/fleet-id"),
},
&gamelift.GameSessionQueueDestinationArgs{
DestinationArn: pulumi.String("arn:aws:gamelift:us-west-2:012345678912:alias/alias-id"),
},
},
PlayerLatencyPolicies: gamelift.GameSessionQueuePlayerLatencyPolicyArray{
&gamelift.GameSessionQueuePlayerLatencyPolicyArgs{
MaximumIndividualPlayerLatencyMilliseconds: pulumi.Int(1000),
PolicyDurationSeconds: pulumi.Int(60),
},
},
PriorityConfiguration: &gamelift.GameSessionQueuePriorityConfigurationArgs{
LocationOrder: pulumi.StringArray{
pulumi.String("us-west-2"),
pulumi.String("us-east-1"),
},
PriorityOrder: gamelift.GameSessionQueuePriorityOrderItemArray{
gamelift.GameSessionQueuePriorityOrderItemCost,
gamelift.GameSessionQueuePriorityOrderItemLatency,
gamelift.GameSessionQueuePriorityOrderItemLocation,
gamelift.GameSessionQueuePriorityOrderItemDestination,
},
},
FilterConfiguration: &gamelift.GameSessionQueueFilterConfigurationArgs{
AllowedLocations: pulumi.StringArray{
pulumi.String("us-east-1"),
pulumi.String("us-west-2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
queue = aws_native.gamelift.GameSessionQueue("queue",
name="MyGameSessionQueue",
timeout_in_seconds=60,
notification_target="arn:aws:sns:us-west-2:111122223333:My_Placement_SNS_Topic",
destinations=[
{
"destination_arn": "arn:aws:gamelift:us-west-2:012345678912:fleet/fleet-id",
},
{
"destination_arn": "arn:aws:gamelift:us-west-2:012345678912:alias/alias-id",
},
],
player_latency_policies=[{
"maximum_individual_player_latency_milliseconds": 1000,
"policy_duration_seconds": 60,
}],
priority_configuration={
"location_order": [
"us-west-2",
"us-east-1",
],
"priority_order": [
aws_native.gamelift.GameSessionQueuePriorityOrderItem.COST,
aws_native.gamelift.GameSessionQueuePriorityOrderItem.LATENCY,
aws_native.gamelift.GameSessionQueuePriorityOrderItem.LOCATION,
aws_native.gamelift.GameSessionQueuePriorityOrderItem.DESTINATION,
],
},
filter_configuration={
"allowed_locations": [
"us-east-1",
"us-west-2",
],
})
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const queue = new aws_native.gamelift.GameSessionQueue("queue", {
name: "MyGameSessionQueue",
timeoutInSeconds: 60,
notificationTarget: "arn:aws:sns:us-west-2:111122223333:My_Placement_SNS_Topic",
destinations: [
{
destinationArn: "arn:aws:gamelift:us-west-2:012345678912:fleet/fleet-id",
},
{
destinationArn: "arn:aws:gamelift:us-west-2:012345678912:alias/alias-id",
},
],
playerLatencyPolicies: [{
maximumIndividualPlayerLatencyMilliseconds: 1000,
policyDurationSeconds: 60,
}],
priorityConfiguration: {
locationOrder: [
"us-west-2",
"us-east-1",
],
priorityOrder: [
aws_native.gamelift.GameSessionQueuePriorityOrderItem.Cost,
aws_native.gamelift.GameSessionQueuePriorityOrderItem.Latency,
aws_native.gamelift.GameSessionQueuePriorityOrderItem.Location,
aws_native.gamelift.GameSessionQueuePriorityOrderItem.Destination,
],
},
filterConfiguration: {
allowedLocations: [
"us-east-1",
"us-west-2",
],
},
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var queueResource = new AwsNative.GameLift.GameSessionQueue("queueResource", new()
{
Name = "MyGameSessionQueue",
});
var matchmakingRuleSetResource = new AwsNative.GameLift.MatchmakingRuleSet("matchmakingRuleSetResource", new()
{
Name = "MyRuleSet",
RuleSetBody = "{\"name\": \"MyMatchmakingRuleSet\",\"ruleLanguageVersion\": \"1.0\", \"teams\": [{\"name\": \"MyTeam\",\"minPlayers\": 1,\"maxPlayers\": 20}]}",
});
var matchmakingConfigurationResource = new AwsNative.GameLift.MatchmakingConfiguration("matchmakingConfigurationResource", new()
{
Name = "MyMatchmakingConfiguration",
AcceptanceRequired = true,
AcceptanceTimeoutSeconds = 60,
AdditionalPlayerCount = 8,
BackfillMode = AwsNative.GameLift.MatchmakingConfigurationBackfillMode.Automatic,
CustomEventData = "MyCustomEventData",
Description = "A basic matchmaking configuration for a GameLift-hosted game",
FlexMatchMode = AwsNative.GameLift.MatchmakingConfigurationFlexMatchMode.WithQueue,
GameSessionData = "MyGameSessionData",
GameProperties = new[]
{
new AwsNative.GameLift.Inputs.MatchmakingConfigurationGamePropertyArgs
{
Key = "level",
Value = "10",
},
new AwsNative.GameLift.Inputs.MatchmakingConfigurationGamePropertyArgs
{
Key = "gameMode",
Value = "hard",
},
},
GameSessionQueueArns = new[]
{
queueResource.Arn,
},
RequestTimeoutSeconds = 100,
RuleSetName = matchmakingRuleSetResource.Id,
}, new CustomResourceOptions
{
DependsOn =
{
queueResource,
matchmakingRuleSetResource,
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/gamelift"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
queueResource, err := gamelift.NewGameSessionQueue(ctx, "queueResource", &gamelift.GameSessionQueueArgs{
Name: pulumi.String("MyGameSessionQueue"),
})
if err != nil {
return err
}
matchmakingRuleSetResource, err := gamelift.NewMatchmakingRuleSet(ctx, "matchmakingRuleSetResource", &gamelift.MatchmakingRuleSetArgs{
Name: pulumi.String("MyRuleSet"),
RuleSetBody: pulumi.String("{\"name\": \"MyMatchmakingRuleSet\",\"ruleLanguageVersion\": \"1.0\", \"teams\": [{\"name\": \"MyTeam\",\"minPlayers\": 1,\"maxPlayers\": 20}]}"),
})
if err != nil {
return err
}
_, err = gamelift.NewMatchmakingConfiguration(ctx, "matchmakingConfigurationResource", &gamelift.MatchmakingConfigurationArgs{
Name: pulumi.String("MyMatchmakingConfiguration"),
AcceptanceRequired: pulumi.Bool(true),
AcceptanceTimeoutSeconds: pulumi.Int(60),
AdditionalPlayerCount: pulumi.Int(8),
BackfillMode: gamelift.MatchmakingConfigurationBackfillModeAutomatic,
CustomEventData: pulumi.String("MyCustomEventData"),
Description: pulumi.String("A basic matchmaking configuration for a GameLift-hosted game"),
FlexMatchMode: gamelift.MatchmakingConfigurationFlexMatchModeWithQueue,
GameSessionData: pulumi.String("MyGameSessionData"),
GameProperties: gamelift.MatchmakingConfigurationGamePropertyArray{
&gamelift.MatchmakingConfigurationGamePropertyArgs{
Key: pulumi.String("level"),
Value: pulumi.String("10"),
},
&gamelift.MatchmakingConfigurationGamePropertyArgs{
Key: pulumi.String("gameMode"),
Value: pulumi.String("hard"),
},
},
GameSessionQueueArns: pulumi.StringArray{
queueResource.Arn,
},
RequestTimeoutSeconds: pulumi.Int(100),
RuleSetName: matchmakingRuleSetResource.ID(),
}, pulumi.DependsOn([]pulumi.Resource{
queueResource,
matchmakingRuleSetResource,
}))
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
queue_resource = aws_native.gamelift.GameSessionQueue("queueResource", name="MyGameSessionQueue")
matchmaking_rule_set_resource = aws_native.gamelift.MatchmakingRuleSet("matchmakingRuleSetResource",
name="MyRuleSet",
rule_set_body="{\"name\": \"MyMatchmakingRuleSet\",\"ruleLanguageVersion\": \"1.0\", \"teams\": [{\"name\": \"MyTeam\",\"minPlayers\": 1,\"maxPlayers\": 20}]}")
matchmaking_configuration_resource = aws_native.gamelift.MatchmakingConfiguration("matchmakingConfigurationResource",
name="MyMatchmakingConfiguration",
acceptance_required=True,
acceptance_timeout_seconds=60,
additional_player_count=8,
backfill_mode=aws_native.gamelift.MatchmakingConfigurationBackfillMode.AUTOMATIC,
custom_event_data="MyCustomEventData",
description="A basic matchmaking configuration for a GameLift-hosted game",
flex_match_mode=aws_native.gamelift.MatchmakingConfigurationFlexMatchMode.WITH_QUEUE,
game_session_data="MyGameSessionData",
game_properties=[
{
"key": "level",
"value": "10",
},
{
"key": "gameMode",
"value": "hard",
},
],
game_session_queue_arns=[queue_resource.arn],
request_timeout_seconds=100,
rule_set_name=matchmaking_rule_set_resource.id,
opts = pulumi.ResourceOptions(depends_on=[
queue_resource,
matchmaking_rule_set_resource,
]))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const queueResource = new aws_native.gamelift.GameSessionQueue("queueResource", {name: "MyGameSessionQueue"});
const matchmakingRuleSetResource = new aws_native.gamelift.MatchmakingRuleSet("matchmakingRuleSetResource", {
name: "MyRuleSet",
ruleSetBody: "{\"name\": \"MyMatchmakingRuleSet\",\"ruleLanguageVersion\": \"1.0\", \"teams\": [{\"name\": \"MyTeam\",\"minPlayers\": 1,\"maxPlayers\": 20}]}",
});
const matchmakingConfigurationResource = new aws_native.gamelift.MatchmakingConfiguration("matchmakingConfigurationResource", {
name: "MyMatchmakingConfiguration",
acceptanceRequired: true,
acceptanceTimeoutSeconds: 60,
additionalPlayerCount: 8,
backfillMode: aws_native.gamelift.MatchmakingConfigurationBackfillMode.Automatic,
customEventData: "MyCustomEventData",
description: "A basic matchmaking configuration for a GameLift-hosted game",
flexMatchMode: aws_native.gamelift.MatchmakingConfigurationFlexMatchMode.WithQueue,
gameSessionData: "MyGameSessionData",
gameProperties: [
{
key: "level",
value: "10",
},
{
key: "gameMode",
value: "hard",
},
],
gameSessionQueueArns: [queueResource.arn],
requestTimeoutSeconds: 100,
ruleSetName: matchmakingRuleSetResource.id,
}, {
dependsOn: [
queueResource,
matchmakingRuleSetResource,
],
});
Coming soon!
Create GameSessionQueue Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GameSessionQueue(name: string, args?: GameSessionQueueArgs, opts?: CustomResourceOptions);
@overload
def GameSessionQueue(resource_name: str,
args: Optional[GameSessionQueueArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GameSessionQueue(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_event_data: Optional[str] = None,
destinations: Optional[Sequence[GameSessionQueueDestinationArgs]] = None,
filter_configuration: Optional[GameSessionQueueFilterConfigurationArgs] = None,
name: Optional[str] = None,
notification_target: Optional[str] = None,
player_latency_policies: Optional[Sequence[GameSessionQueuePlayerLatencyPolicyArgs]] = None,
priority_configuration: Optional[GameSessionQueuePriorityConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
timeout_in_seconds: Optional[int] = None)
func NewGameSessionQueue(ctx *Context, name string, args *GameSessionQueueArgs, opts ...ResourceOption) (*GameSessionQueue, error)
public GameSessionQueue(string name, GameSessionQueueArgs? args = null, CustomResourceOptions? opts = null)
public GameSessionQueue(String name, GameSessionQueueArgs args)
public GameSessionQueue(String name, GameSessionQueueArgs args, CustomResourceOptions options)
type: aws-native:gamelift:GameSessionQueue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GameSessionQueueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GameSessionQueueArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GameSessionQueueArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GameSessionQueueArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GameSessionQueueArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GameSessionQueue Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GameSessionQueue resource accepts the following input properties:
- Custom
Event stringData - Information that is added to all events that are related to this game session queue.
- Destinations
List<Pulumi.
Aws Native. Game Lift. Inputs. Game Session Queue Destination> - A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
- Filter
Configuration Pulumi.Aws Native. Game Lift. Inputs. Game Session Queue Filter Configuration - A list of locations where a queue is allowed to place new game sessions.
- Name string
- A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
- Notification
Target string - An SNS topic ARN that is set up to receive game session placement notifications.
- Player
Latency List<Pulumi.Policies Aws Native. Game Lift. Inputs. Game Session Queue Player Latency Policy> - A set of policies that act as a sliding cap on player latency.
- Priority
Configuration Pulumi.Aws Native. Game Lift. Inputs. Game Session Queue Priority Configuration - Custom settings to use when prioritizing destinations and locations for game session placements.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Timeout
In intSeconds - The maximum time, in seconds, that a new game session placement request remains in the queue.
- Custom
Event stringData - Information that is added to all events that are related to this game session queue.
- Destinations
[]Game
Session Queue Destination Args - A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
- Filter
Configuration GameSession Queue Filter Configuration Args - A list of locations where a queue is allowed to place new game sessions.
- Name string
- A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
- Notification
Target string - An SNS topic ARN that is set up to receive game session placement notifications.
- Player
Latency []GamePolicies Session Queue Player Latency Policy Args - A set of policies that act as a sliding cap on player latency.
- Priority
Configuration GameSession Queue Priority Configuration Args - Custom settings to use when prioritizing destinations and locations for game session placements.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Timeout
In intSeconds - The maximum time, in seconds, that a new game session placement request remains in the queue.
- custom
Event StringData - Information that is added to all events that are related to this game session queue.
- destinations
List<Game
Session Queue Destination> - A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
- filter
Configuration GameSession Queue Filter Configuration - A list of locations where a queue is allowed to place new game sessions.
- name String
- A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
- notification
Target String - An SNS topic ARN that is set up to receive game session placement notifications.
- player
Latency List<GamePolicies Session Queue Player Latency Policy> - A set of policies that act as a sliding cap on player latency.
- priority
Configuration GameSession Queue Priority Configuration - Custom settings to use when prioritizing destinations and locations for game session placements.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- timeout
In IntegerSeconds - The maximum time, in seconds, that a new game session placement request remains in the queue.
- custom
Event stringData - Information that is added to all events that are related to this game session queue.
- destinations
Game
Session Queue Destination[] - A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
- filter
Configuration GameSession Queue Filter Configuration - A list of locations where a queue is allowed to place new game sessions.
- name string
- A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
- notification
Target string - An SNS topic ARN that is set up to receive game session placement notifications.
- player
Latency GamePolicies Session Queue Player Latency Policy[] - A set of policies that act as a sliding cap on player latency.
- priority
Configuration GameSession Queue Priority Configuration - Custom settings to use when prioritizing destinations and locations for game session placements.
- Tag[]
- An array of key-value pairs to apply to this resource.
- timeout
In numberSeconds - The maximum time, in seconds, that a new game session placement request remains in the queue.
- custom_
event_ strdata - Information that is added to all events that are related to this game session queue.
- destinations
Sequence[Game
Session Queue Destination Args] - A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
- filter_
configuration GameSession Queue Filter Configuration Args - A list of locations where a queue is allowed to place new game sessions.
- name str
- A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
- notification_
target str - An SNS topic ARN that is set up to receive game session placement notifications.
- player_
latency_ Sequence[Gamepolicies Session Queue Player Latency Policy Args] - A set of policies that act as a sliding cap on player latency.
- priority_
configuration GameSession Queue Priority Configuration Args - Custom settings to use when prioritizing destinations and locations for game session placements.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- timeout_
in_ intseconds - The maximum time, in seconds, that a new game session placement request remains in the queue.
- custom
Event StringData - Information that is added to all events that are related to this game session queue.
- destinations List<Property Map>
- A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
- filter
Configuration Property Map - A list of locations where a queue is allowed to place new game sessions.
- name String
- A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
- notification
Target String - An SNS topic ARN that is set up to receive game session placement notifications.
- player
Latency List<Property Map>Policies - A set of policies that act as a sliding cap on player latency.
- priority
Configuration Property Map - Custom settings to use when prioritizing destinations and locations for game session placements.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- timeout
In NumberSeconds - The maximum time, in seconds, that a new game session placement request remains in the queue.
Outputs
All input properties are implicitly available as output properties. Additionally, the GameSessionQueue resource produces the following output properties:
Supporting Types
GameSessionQueueDestination, GameSessionQueueDestinationArgs
- Destination
Arn string - The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
- Destination
Arn string - The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
- destination
Arn String - The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
- destination
Arn string - The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
- destination_
arn str - The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
- destination
Arn String - The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
GameSessionQueueFilterConfiguration, GameSessionQueueFilterConfigurationArgs
- Allowed
Locations List<string> - A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2
.
- Allowed
Locations []string - A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2
.
- allowed
Locations List<String> - A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2
.
- allowed
Locations string[] - A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2
.
- allowed_
locations Sequence[str] - A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2
.
- allowed
Locations List<String> - A list of locations to allow game session placement in, in the form of AWS Region codes such as
us-west-2
.
GameSessionQueuePlayerLatencyPolicy, GameSessionQueuePlayerLatencyPolicyArgs
- Maximum
Individual intPlayer Latency Milliseconds - The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- Policy
Duration intSeconds - The length of time, in seconds, that the policy is enforced while placing a new game session.
- Maximum
Individual intPlayer Latency Milliseconds - The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- Policy
Duration intSeconds - The length of time, in seconds, that the policy is enforced while placing a new game session.
- maximum
Individual IntegerPlayer Latency Milliseconds - The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- policy
Duration IntegerSeconds - The length of time, in seconds, that the policy is enforced while placing a new game session.
- maximum
Individual numberPlayer Latency Milliseconds - The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- policy
Duration numberSeconds - The length of time, in seconds, that the policy is enforced while placing a new game session.
- maximum_
individual_ intplayer_ latency_ milliseconds - The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- policy_
duration_ intseconds - The length of time, in seconds, that the policy is enforced while placing a new game session.
- maximum
Individual NumberPlayer Latency Milliseconds - The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
- policy
Duration NumberSeconds - The length of time, in seconds, that the policy is enforced while placing a new game session.
GameSessionQueuePriorityConfiguration, GameSessionQueuePriorityConfigurationArgs
- Location
Order List<string> - The prioritization order to use for fleet locations, when the
PriorityOrder
property includesLOCATION
. Locations are identified by AWS Region codes such asus-west-2
. Each location can only be listed once. - Priority
Order List<Pulumi.Aws Native. Game Lift. Game Session Queue Priority Order Item> - The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined inLocationOrder
.
- Location
Order []string - The prioritization order to use for fleet locations, when the
PriorityOrder
property includesLOCATION
. Locations are identified by AWS Region codes such asus-west-2
. Each location can only be listed once. - Priority
Order []GameSession Queue Priority Order Item - The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined inLocationOrder
.
- location
Order List<String> - The prioritization order to use for fleet locations, when the
PriorityOrder
property includesLOCATION
. Locations are identified by AWS Region codes such asus-west-2
. Each location can only be listed once. - priority
Order List<GameSession Queue Priority Order Item> - The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined inLocationOrder
.
- location
Order string[] - The prioritization order to use for fleet locations, when the
PriorityOrder
property includesLOCATION
. Locations are identified by AWS Region codes such asus-west-2
. Each location can only be listed once. - priority
Order GameSession Queue Priority Order Item[] - The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined inLocationOrder
.
- location_
order Sequence[str] - The prioritization order to use for fleet locations, when the
PriorityOrder
property includesLOCATION
. Locations are identified by AWS Region codes such asus-west-2
. Each location can only be listed once. - priority_
order Sequence[GameSession Queue Priority Order Item] - The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined inLocationOrder
.
- location
Order List<String> - The prioritization order to use for fleet locations, when the
PriorityOrder
property includesLOCATION
. Locations are identified by AWS Region codes such asus-west-2
. Each location can only be listed once. - priority
Order List<"LATENCY" | "COST" | "DESTINATION" | "LOCATION"> - The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY
-- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.COST
-- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.DESTINATION
-- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.LOCATION
-- FleetIQ prioritizes based on the provided order of locations, as defined inLocationOrder
.
GameSessionQueuePriorityOrderItem, GameSessionQueuePriorityOrderItemArgs
- Latency
- LATENCY
- Cost
- COST
- Destination
- DESTINATION
- Location
- LOCATION
- Game
Session Queue Priority Order Item Latency - LATENCY
- Game
Session Queue Priority Order Item Cost - COST
- Game
Session Queue Priority Order Item Destination - DESTINATION
- Game
Session Queue Priority Order Item Location - LOCATION
- Latency
- LATENCY
- Cost
- COST
- Destination
- DESTINATION
- Location
- LOCATION
- Latency
- LATENCY
- Cost
- COST
- Destination
- DESTINATION
- Location
- LOCATION
- LATENCY
- LATENCY
- COST
- COST
- DESTINATION
- DESTINATION
- LOCATION
- LOCATION
- "LATENCY"
- LATENCY
- "COST"
- COST
- "DESTINATION"
- DESTINATION
- "LOCATION"
- LOCATION
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.