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

com.pulumi.aws.sagemaker.kotlin.outputs.UserProfileUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettings.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.sagemaker.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 UserProfileUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettings(
    public val idleTimeoutInMinutes: Int? = null,
    public val lifecycleManagement: String? = null,
    public val maxIdleTimeoutInMinutes: Int? = null,
    public val minIdleTimeoutInMinutes: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettings): UserProfileUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettings =
            UserProfileUserSettingsJupyterLabAppSettingsAppLifecycleManagementIdleSettings(
                idleTimeoutInMinutes = javaType.idleTimeoutInMinutes().map({ args0 -> args0 }).orElse(null),
                lifecycleManagement = javaType.lifecycleManagement().map({ args0 -> args0 }).orElse(null),
                maxIdleTimeoutInMinutes = javaType.maxIdleTimeoutInMinutes().map({ args0 -> args0 }).orElse(null),
                minIdleTimeoutInMinutes = javaType.minIdleTimeoutInMinutes().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy