com.pulumi.aws.sagemaker.kotlin.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property idleTimeoutInMinutes The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`.
* @property lifecycleManagement Indicates whether idle shutdown is activated for the application type. Valid values are `ENABLED` and `DISABLED`.
* @property maxIdleTimeoutInMinutes The maximum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
* @property minIdleTimeoutInMinutes The minimum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
public data class
DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs(
public val idleTimeoutInMinutes: Output? = null,
public val lifecycleManagement: Output? = null,
public val maxIdleTimeoutInMinutes: Output? = null,
public val minIdleTimeoutInMinutes: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs =
com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs.builder()
.idleTimeoutInMinutes(idleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
.lifecycleManagement(lifecycleManagement?.applyValue({ args0 -> args0 }))
.maxIdleTimeoutInMinutes(maxIdleTimeoutInMinutes?.applyValue({ args0 -> args0 }))
.minIdleTimeoutInMinutes(minIdleTimeoutInMinutes?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs].
*/
@PulumiTagMarker
public class
DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgsBuilder
internal constructor() {
private var idleTimeoutInMinutes: Output? = null
private var lifecycleManagement: Output? = null
private var maxIdleTimeoutInMinutes: Output? = null
private var minIdleTimeoutInMinutes: Output? = null
/**
* @param value The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`.
*/
@JvmName("gfjglphxvtrqlkrn")
public suspend fun idleTimeoutInMinutes(`value`: Output) {
this.idleTimeoutInMinutes = value
}
/**
* @param value Indicates whether idle shutdown is activated for the application type. Valid values are `ENABLED` and `DISABLED`.
*/
@JvmName("anfsuobkelstxfeu")
public suspend fun lifecycleManagement(`value`: Output) {
this.lifecycleManagement = value
}
/**
* @param value The maximum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("cddpnyrghwqilyqp")
public suspend fun maxIdleTimeoutInMinutes(`value`: Output) {
this.maxIdleTimeoutInMinutes = value
}
/**
* @param value The minimum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("eiahedpuytpvfrdo")
public suspend fun minIdleTimeoutInMinutes(`value`: Output) {
this.minIdleTimeoutInMinutes = value
}
/**
* @param value The time that SageMaker waits after the application becomes idle before shutting it down. Valid values are between `60` and `525600`.
*/
@JvmName("nrkhbpwlqnpuvrav")
public suspend fun idleTimeoutInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.idleTimeoutInMinutes = mapped
}
/**
* @param value Indicates whether idle shutdown is activated for the application type. Valid values are `ENABLED` and `DISABLED`.
*/
@JvmName("eomfwyynmbafrlcn")
public suspend fun lifecycleManagement(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lifecycleManagement = mapped
}
/**
* @param value The maximum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("rpgmjaiaigdstqpk")
public suspend fun maxIdleTimeoutInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxIdleTimeoutInMinutes = mapped
}
/**
* @param value The minimum value in minutes that custom idle shutdown can be set to by the user. Valid values are between `60` and `525600`.
*/
@JvmName("ynmwyqfexoctljnk")
public suspend fun minIdleTimeoutInMinutes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.minIdleTimeoutInMinutes = mapped
}
internal fun build(): DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs =
DomainDefaultUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettingsArgs(
idleTimeoutInMinutes = idleTimeoutInMinutes,
lifecycleManagement = lifecycleManagement,
maxIdleTimeoutInMinutes = maxIdleTimeoutInMinutes,
minIdleTimeoutInMinutes = minIdleTimeoutInMinutes,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy