
com.pulumi.aws.sagemaker.kotlin.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.sagemaker.kotlin.inputs
import com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsArgs.builder
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
/**
*
* @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 codeRepositories A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see `code_repository` Block below.
* @property customImages A list of custom SageMaker images that are configured to run as a JupyterLab app. see `custom_image` Block 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` Block below.
* @property emrSettings The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications. see `emr_settings` Block below.
* @property lifecycleConfigArns The Amazon Resource Name (ARN) of the Lifecycle Configurations.
*/
public data class DomainDefaultUserSettingsJupyterLabAppSettingsArgs(
public val appLifecycleManagement: Output? = null,
public val builtInLifecycleConfigArn: Output? = null,
public val codeRepositories: Output>? = null,
public val customImages: Output>? = null,
public val defaultResourceSpec: Output? = null,
public val emrSettings: Output? =
null,
public val lifecycleConfigArns: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsArgs =
com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsJupyterLabAppSettingsArgs.builder()
.appLifecycleManagement(
appLifecycleManagement?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.builtInLifecycleConfigArn(builtInLifecycleConfigArn?.applyValue({ args0 -> args0 }))
.codeRepositories(
codeRepositories?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.customImages(
customImages?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.defaultResourceSpec(
defaultResourceSpec?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.emrSettings(emrSettings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.lifecycleConfigArns(
lifecycleConfigArns?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [DomainDefaultUserSettingsJupyterLabAppSettingsArgs].
*/
@PulumiTagMarker
public class DomainDefaultUserSettingsJupyterLabAppSettingsArgsBuilder internal constructor() {
private var appLifecycleManagement:
Output? = null
private var builtInLifecycleConfigArn: Output? = null
private var codeRepositories:
Output>? = null
private var customImages:
Output>? = null
private var defaultResourceSpec:
Output? = null
private var emrSettings: Output? =
null
private var lifecycleConfigArns: Output>? = null
/**
* @param value Indicates whether idle shutdown is activated for JupyterLab applications. see `app_lifecycle_management` Block below.
*/
@JvmName("oxdugxsghpcwokqy")
public suspend fun appLifecycleManagement(`value`: Output) {
this.appLifecycleManagement = value
}
/**
* @param value The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.
*/
@JvmName("nipolvtmvfngvttx")
public suspend fun builtInLifecycleConfigArn(`value`: Output) {
this.builtInLifecycleConfigArn = value
}
/**
* @param value A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see `code_repository` Block below.
*/
@JvmName("mjicjhwpochunojt")
public suspend fun codeRepositories(`value`: Output>) {
this.codeRepositories = value
}
@JvmName("hybavkcctbdxavtt")
public suspend fun codeRepositories(vararg values: Output) {
this.codeRepositories = Output.all(values.asList())
}
/**
* @param values A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see `code_repository` Block below.
*/
@JvmName("eoxxyeyfcqbsbpfv")
public suspend fun codeRepositories(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy