
com.pulumi.awsnative.gamelift.kotlin.GameSessionQueueArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.gamelift.kotlin
import com.pulumi.awsnative.gamelift.GameSessionQueueArgs.builder
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueueDestinationArgs
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueueDestinationArgsBuilder
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueueFilterConfigurationArgs
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueueFilterConfigurationArgsBuilder
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueuePlayerLatencyPolicyArgs
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueuePlayerLatencyPolicyArgsBuilder
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueuePriorityConfigurationArgs
import com.pulumi.awsnative.gamelift.kotlin.inputs.GameSessionQueuePriorityConfigurationArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::GameLift::GameSessionQueue resource creates an Amazon GameLift (GameLift) game session queue.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property customEventData Information that is added to all events that are related to this game session queue.
* @property destinations A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
* @property filterConfiguration A list of locations where a queue is allowed to place new game sessions.
* @property name A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
* @property notificationTarget An SNS topic ARN that is set up to receive game session placement notifications.
* @property playerLatencyPolicies A set of policies that act as a sliding cap on player latency.
* @property priorityConfiguration Custom settings to use when prioritizing destinations and locations for game session placements.
* @property tags An array of key-value pairs to apply to this resource.
* @property timeoutInSeconds The maximum time, in seconds, that a new game session placement request remains in the queue.
*/
public data class GameSessionQueueArgs(
public val customEventData: Output? = null,
public val destinations: Output>? = null,
public val filterConfiguration: Output? = null,
public val name: Output? = null,
public val notificationTarget: Output? = null,
public val playerLatencyPolicies: Output>? = null,
public val priorityConfiguration: Output? = null,
public val tags: Output>? = null,
public val timeoutInSeconds: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.gamelift.GameSessionQueueArgs =
com.pulumi.awsnative.gamelift.GameSessionQueueArgs.builder()
.customEventData(customEventData?.applyValue({ args0 -> args0 }))
.destinations(
destinations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.filterConfiguration(
filterConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.notificationTarget(notificationTarget?.applyValue({ args0 -> args0 }))
.playerLatencyPolicies(
playerLatencyPolicies?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.priorityConfiguration(
priorityConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.timeoutInSeconds(timeoutInSeconds?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GameSessionQueueArgs].
*/
@PulumiTagMarker
public class GameSessionQueueArgsBuilder internal constructor() {
private var customEventData: Output? = null
private var destinations: Output>? = null
private var filterConfiguration: Output? = null
private var name: Output? = null
private var notificationTarget: Output? = null
private var playerLatencyPolicies: Output>? = null
private var priorityConfiguration: Output? = null
private var tags: Output>? = null
private var timeoutInSeconds: Output? = null
/**
* @param value Information that is added to all events that are related to this game session queue.
*/
@JvmName("ucbryvvthkjhhooq")
public suspend fun customEventData(`value`: Output) {
this.customEventData = value
}
/**
* @param value A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
*/
@JvmName("wlpmkaiioktwhlqr")
public suspend fun destinations(`value`: Output>) {
this.destinations = value
}
@JvmName("jequfyduvvjolsyv")
public suspend fun destinations(vararg values: Output) {
this.destinations = Output.all(values.asList())
}
/**
* @param values A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue.
*/
@JvmName("slkkpqrrrbvxlwsw")
public suspend fun destinations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy