com.pulumi.awsnative.workspaces.kotlin.WorkspacesPoolArgs.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.workspaces.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.workspaces.WorkspacesPoolArgs.builder
import com.pulumi.awsnative.workspaces.kotlin.inputs.WorkspacesPoolApplicationSettingsArgs
import com.pulumi.awsnative.workspaces.kotlin.inputs.WorkspacesPoolApplicationSettingsArgsBuilder
import com.pulumi.awsnative.workspaces.kotlin.inputs.WorkspacesPoolCapacityArgs
import com.pulumi.awsnative.workspaces.kotlin.inputs.WorkspacesPoolCapacityArgsBuilder
import com.pulumi.awsnative.workspaces.kotlin.inputs.WorkspacesPoolTimeoutSettingsArgs
import com.pulumi.awsnative.workspaces.kotlin.inputs.WorkspacesPoolTimeoutSettingsArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::WorkSpaces::WorkspacesPool
* @property applicationSettings The persistent application settings for users of the pool.
* @property bundleId The identifier of the bundle used by the pool.
* @property capacity Describes the user capacity for the pool.
* @property description The description of the pool.
* @property directoryId The identifier of the directory used by the pool.
* @property poolName The name of the pool.
* @property tags The tags for the pool.
* @property timeoutSettings The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
*/
public data class WorkspacesPoolArgs(
public val applicationSettings: Output? = null,
public val bundleId: Output? = null,
public val capacity: Output? = null,
public val description: Output? = null,
public val directoryId: Output? = null,
public val poolName: Output? = null,
public val tags: Output>? = null,
public val timeoutSettings: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.workspaces.WorkspacesPoolArgs =
com.pulumi.awsnative.workspaces.WorkspacesPoolArgs.builder()
.applicationSettings(
applicationSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.bundleId(bundleId?.applyValue({ args0 -> args0 }))
.capacity(capacity?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.directoryId(directoryId?.applyValue({ args0 -> args0 }))
.poolName(poolName?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.timeoutSettings(
timeoutSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [WorkspacesPoolArgs].
*/
@PulumiTagMarker
public class WorkspacesPoolArgsBuilder internal constructor() {
private var applicationSettings: Output? = null
private var bundleId: Output? = null
private var capacity: Output? = null
private var description: Output? = null
private var directoryId: Output? = null
private var poolName: Output? = null
private var tags: Output>? = null
private var timeoutSettings: Output? = null
/**
* @param value The persistent application settings for users of the pool.
*/
@JvmName("bephtdvqhcgslued")
public suspend fun applicationSettings(`value`: Output) {
this.applicationSettings = value
}
/**
* @param value The identifier of the bundle used by the pool.
*/
@JvmName("cckkiylwdukvgkhl")
public suspend fun bundleId(`value`: Output) {
this.bundleId = value
}
/**
* @param value Describes the user capacity for the pool.
*/
@JvmName("vukodbdumejuvdcw")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value The description of the pool.
*/
@JvmName("hefsdyekontkcqni")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The identifier of the directory used by the pool.
*/
@JvmName("nygjyddupesccukx")
public suspend fun directoryId(`value`: Output) {
this.directoryId = value
}
/**
* @param value The name of the pool.
*/
@JvmName("cruqqllnsrcncuvy")
public suspend fun poolName(`value`: Output) {
this.poolName = value
}
/**
* @param value The tags for the pool.
*/
@JvmName("depghlqpmpufhwvn")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("yyrbttqjsxyorjbw")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tags for the pool.
*/
@JvmName("vdluiprrorufrmis")
public suspend fun tags(values: List