All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.gamelift.kotlin.outputs.GetGameSessionQueueResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.gamelift.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it.
 * @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 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 GetGameSessionQueueResult(
    public val arn: String? = null,
    public val customEventData: String? = null,
    public val destinations: List? = null,
    public val filterConfiguration: GameSessionQueueFilterConfiguration? = null,
    public val notificationTarget: String? = null,
    public val playerLatencyPolicies: List? = null,
    public val priorityConfiguration: GameSessionQueuePriorityConfiguration? = null,
    public val tags: List? = null,
    public val timeoutInSeconds: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.gamelift.outputs.GetGameSessionQueueResult): GetGameSessionQueueResult = GetGameSessionQueueResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            customEventData = javaType.customEventData().map({ args0 -> args0 }).orElse(null),
            destinations = javaType.destinations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.gamelift.kotlin.outputs.GameSessionQueueDestination.Companion.toKotlin(args0)
                })
            }),
            filterConfiguration = javaType.filterConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.gamelift.kotlin.outputs.GameSessionQueueFilterConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            notificationTarget = javaType.notificationTarget().map({ args0 -> args0 }).orElse(null),
            playerLatencyPolicies = javaType.playerLatencyPolicies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.gamelift.kotlin.outputs.GameSessionQueuePlayerLatencyPolicy.Companion.toKotlin(args0)
                })
            }),
            priorityConfiguration = javaType.priorityConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.gamelift.kotlin.outputs.GameSessionQueuePriorityConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            timeoutInSeconds = javaType.timeoutInSeconds().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy