GameSessionQueue
Provides an Gamelift Game Session Queue resource.
Create a GameSessionQueue Resource
new GameSessionQueue(name: string, args?: GameSessionQueueArgs, opts?: CustomResourceOptions);def GameSessionQueue(resource_name, opts=None, destinations=None, name=None, player_latency_policies=None, tags=None, timeout_in_seconds=None, __props__=None);func NewGameSessionQueue(ctx *Context, name string, args *GameSessionQueueArgs, opts ...ResourceOption) (*GameSessionQueue, error)public GameSessionQueue(string name, GameSessionQueueArgs? args = null, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
GameSessionQueue Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The GameSessionQueue resource accepts the following input properties:
- Destinations List<string>
List of fleet/alias ARNs used by session queue for placing game sessions.
- Name string
Name of the session queue.
- Player
Latency List<GamePolicies Session Queue Player Latency Policy Args> One or more policies used to choose fleet based on player latency. See below.
- Dictionary<string, string>
Key-value map of resource tags
- Timeout
In intSeconds Maximum time a game session request can remain in the queue.
- Destinations []string
List of fleet/alias ARNs used by session queue for placing game sessions.
- Name string
Name of the session queue.
- Player
Latency []GamePolicies Session Queue Player Latency Policy One or more policies used to choose fleet based on player latency. See below.
- map[string]string
Key-value map of resource tags
- Timeout
In intSeconds Maximum time a game session request can remain in the queue.
- destinations string[]
List of fleet/alias ARNs used by session queue for placing game sessions.
- name string
Name of the session queue.
- player
Latency GamePolicies Session Queue Player Latency Policy[] One or more policies used to choose fleet based on player latency. See below.
- {[key: string]: string}
Key-value map of resource tags
- timeout
In numberSeconds Maximum time a game session request can remain in the queue.
- destinations List[str]
List of fleet/alias ARNs used by session queue for placing game sessions.
- name str
Name of the session queue.
- player_
latency_ List[Gamepolicies Session Queue Player Latency Policy] One or more policies used to choose fleet based on player latency. See below.
- Dict[str, str]
Key-value map of resource tags
- timeout_
in_ floatseconds Maximum time a game session request can remain in the queue.
Outputs
All input properties are implicitly available as output properties. Additionally, the GameSessionQueue resource produces the following output properties:
Look up an Existing GameSessionQueue Resource
Get an existing GameSessionQueue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GameSessionQueueState, opts?: CustomResourceOptions): GameSessionQueuestatic get(resource_name, id, opts=None, arn=None, destinations=None, name=None, player_latency_policies=None, tags=None, timeout_in_seconds=None, __props__=None);func GetGameSessionQueue(ctx *Context, name string, id IDInput, state *GameSessionQueueState, opts ...ResourceOption) (*GameSessionQueue, error)public static GameSessionQueue Get(string name, Input<string> id, GameSessionQueueState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Arn string
Game Session Queue ARN.
- Destinations List<string>
List of fleet/alias ARNs used by session queue for placing game sessions.
- Name string
Name of the session queue.
- Player
Latency List<GamePolicies Session Queue Player Latency Policy Args> One or more policies used to choose fleet based on player latency. See below.
- Dictionary<string, string>
Key-value map of resource tags
- Timeout
In intSeconds Maximum time a game session request can remain in the queue.
- Arn string
Game Session Queue ARN.
- Destinations []string
List of fleet/alias ARNs used by session queue for placing game sessions.
- Name string
Name of the session queue.
- Player
Latency []GamePolicies Session Queue Player Latency Policy One or more policies used to choose fleet based on player latency. See below.
- map[string]string
Key-value map of resource tags
- Timeout
In intSeconds Maximum time a game session request can remain in the queue.
- arn string
Game Session Queue ARN.
- destinations string[]
List of fleet/alias ARNs used by session queue for placing game sessions.
- name string
Name of the session queue.
- player
Latency GamePolicies Session Queue Player Latency Policy[] One or more policies used to choose fleet based on player latency. See below.
- {[key: string]: string}
Key-value map of resource tags
- timeout
In numberSeconds Maximum time a game session request can remain in the queue.
- arn str
Game Session Queue ARN.
- destinations List[str]
List of fleet/alias ARNs used by session queue for placing game sessions.
- name str
Name of the session queue.
- player_
latency_ List[Gamepolicies Session Queue Player Latency Policy] One or more policies used to choose fleet based on player latency. See below.
- Dict[str, str]
Key-value map of resource tags
- timeout_
in_ floatseconds Maximum time a game session request can remain in the queue.
Supporting Types
GameSessionQueuePlayerLatencyPolicy
- Maximum
Individual intPlayer Latency Milliseconds Maximum latency value that is allowed for any player.
- Policy
Duration intSeconds Length of time that the policy is enforced while placing a new game session. Absence of value for this attribute means that the policy is enforced until the queue times out.
- Maximum
Individual intPlayer Latency Milliseconds Maximum latency value that is allowed for any player.
- Policy
Duration intSeconds Length of time that the policy is enforced while placing a new game session. Absence of value for this attribute means that the policy is enforced until the queue times out.
- maximum
Individual numberPlayer Latency Milliseconds Maximum latency value that is allowed for any player.
- policy
Duration numberSeconds Length of time that the policy is enforced while placing a new game session. Absence of value for this attribute means that the policy is enforced until the queue times out.
- maximum
Individual floatPlayer Latency Milliseconds Maximum latency value that is allowed for any player.
- policy
Duration floatSeconds Length of time that the policy is enforced while placing a new game session. Absence of value for this attribute means that the policy is enforced until the queue times out.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.