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

com.pulumi.aws.sagemaker.kotlin.outputs.UserProfileUserSettingsCodeEditorAppSettings.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.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property appLifecycleManagement Indicates whether idle shutdown is activated for JupyterLab applications. see `app_lifecycle_management` Block below.
 * @property builtInLifecycleConfigArn The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
 * @property customImages A list of custom SageMaker images that are configured to run as a CodeEditor app. see Custom Image below.
 * @property defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
 * @property lifecycleConfigArns The Amazon Resource Name (ARN) of the Lifecycle Configurations.
 */
public data class UserProfileUserSettingsCodeEditorAppSettings(
    public val appLifecycleManagement: UserProfileUserSettingsCodeEditorAppSettingsAppLifecycleManagement? = null,
    public val builtInLifecycleConfigArn: String? = null,
    public val customImages: List? = null,
    public val defaultResourceSpec: UserProfileUserSettingsCodeEditorAppSettingsDefaultResourceSpec? =
        null,
    public val lifecycleConfigArns: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsCodeEditorAppSettings): UserProfileUserSettingsCodeEditorAppSettings = UserProfileUserSettingsCodeEditorAppSettings(
            appLifecycleManagement = javaType.appLifecycleManagement().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.sagemaker.kotlin.outputs.UserProfileUserSettingsCodeEditorAppSettingsAppLifecycleManagement.Companion.toKotlin(args0)
                })
            }).orElse(null),
            builtInLifecycleConfigArn = javaType.builtInLifecycleConfigArn().map({ args0 ->
                args0
            }).orElse(null),
            customImages = javaType.customImages().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.sagemaker.kotlin.outputs.UserProfileUserSettingsCodeEditorAppSettingsCustomImage.Companion.toKotlin(args0)
                })
            }),
            defaultResourceSpec = javaType.defaultResourceSpec().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.sagemaker.kotlin.outputs.UserProfileUserSettingsCodeEditorAppSettingsDefaultResourceSpec.Companion.toKotlin(args0)
                })
            }).orElse(null),
            lifecycleConfigArns = javaType.lifecycleConfigArns().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy