![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.workspacesthinclient.kotlin.EnvironmentArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.workspacesthinclient.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.workspacesthinclient.EnvironmentArgs.builder
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetUpdateMode
import com.pulumi.awsnative.workspacesthinclient.kotlin.enums.EnvironmentSoftwareSetUpdateSchedule
import com.pulumi.awsnative.workspacesthinclient.kotlin.inputs.EnvironmentMaintenanceWindowArgs
import com.pulumi.awsnative.workspacesthinclient.kotlin.inputs.EnvironmentMaintenanceWindowArgsBuilder
import com.pulumi.awsnative.workspacesthinclient.kotlin.inputs.EnvironmentTagArgs
import com.pulumi.awsnative.workspacesthinclient.kotlin.inputs.EnvironmentTagArgsBuilder
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::WorkSpacesThinClient::Environment.
* @property desiredSoftwareSetId The ID of the software set to apply.
* @property desktopArn The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
* @property desktopEndpoint The URL for the identity provider login (only for environments that use AppStream 2.0).
* @property deviceCreationTags An array of key-value pairs to apply to the newly created devices for this environment.
* @property kmsKeyArn The Amazon Resource Name (ARN) of the AWS Key Management Service key used to encrypt the environment.
* @property maintenanceWindow A specification for a time window to apply software updates.
* @property name The name of the environment.
* @property softwareSetUpdateMode An option to define which software updates to apply.
* @property softwareSetUpdateSchedule An option to define if software updates should be applied within a maintenance window.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class EnvironmentArgs(
public val desiredSoftwareSetId: Output? = null,
public val desktopArn: Output? = null,
public val desktopEndpoint: Output? = null,
public val deviceCreationTags: Output>? = null,
public val kmsKeyArn: Output? = null,
public val maintenanceWindow: Output? = null,
public val name: Output? = null,
public val softwareSetUpdateMode: Output? = null,
public val softwareSetUpdateSchedule: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.workspacesthinclient.EnvironmentArgs =
com.pulumi.awsnative.workspacesthinclient.EnvironmentArgs.builder()
.desiredSoftwareSetId(desiredSoftwareSetId?.applyValue({ args0 -> args0 }))
.desktopArn(desktopArn?.applyValue({ args0 -> args0 }))
.desktopEndpoint(desktopEndpoint?.applyValue({ args0 -> args0 }))
.deviceCreationTags(
deviceCreationTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 }))
.maintenanceWindow(maintenanceWindow?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.softwareSetUpdateMode(
softwareSetUpdateMode?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.softwareSetUpdateSchedule(
softwareSetUpdateSchedule?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EnvironmentArgs].
*/
@PulumiTagMarker
public class EnvironmentArgsBuilder internal constructor() {
private var desiredSoftwareSetId: Output? = null
private var desktopArn: Output? = null
private var desktopEndpoint: Output? = null
private var deviceCreationTags: Output>? = null
private var kmsKeyArn: Output? = null
private var maintenanceWindow: Output? = null
private var name: Output? = null
private var softwareSetUpdateMode: Output? = null
private var softwareSetUpdateSchedule: Output? = null
private var tags: Output>? = null
/**
* @param value The ID of the software set to apply.
*/
@JvmName("bhghencfrccksdsa")
public suspend fun desiredSoftwareSetId(`value`: Output) {
this.desiredSoftwareSetId = value
}
/**
* @param value The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
*/
@JvmName("qpwblaqnnvoltcai")
public suspend fun desktopArn(`value`: Output) {
this.desktopArn = value
}
/**
* @param value The URL for the identity provider login (only for environments that use AppStream 2.0).
*/
@JvmName("fjxvvnyqurxpacib")
public suspend fun desktopEndpoint(`value`: Output) {
this.desktopEndpoint = value
}
/**
* @param value An array of key-value pairs to apply to the newly created devices for this environment.
*/
@JvmName("wavkthpbuhwvufhf")
public suspend fun deviceCreationTags(`value`: Output>) {
this.deviceCreationTags = value
}
@JvmName("tbywdekbwlldsksc")
public suspend fun deviceCreationTags(vararg values: Output) {
this.deviceCreationTags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to the newly created devices for this environment.
*/
@JvmName("qfnvkcxoetrwtmuk")
public suspend fun deviceCreationTags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy