
com.pulumi.awsnative.sagemaker.kotlin.inputs.UserProfileJupyterServerAppSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterServerAppSettingsArgs.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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The JupyterServer app settings.
* @property defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
*/
public data class UserProfileJupyterServerAppSettingsArgs(
public val defaultResourceSpec: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterServerAppSettingsArgs =
com.pulumi.awsnative.sagemaker.inputs.UserProfileJupyterServerAppSettingsArgs.builder()
.defaultResourceSpec(
defaultResourceSpec?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [UserProfileJupyterServerAppSettingsArgs].
*/
@PulumiTagMarker
public class UserProfileJupyterServerAppSettingsArgsBuilder internal constructor() {
private var defaultResourceSpec: Output? = null
/**
* @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
*/
@JvmName("xtwyppbycbewubwy")
public suspend fun defaultResourceSpec(`value`: Output) {
this.defaultResourceSpec = value
}
/**
* @param value The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
*/
@JvmName("gwpwvoonqpjlnaus")
public suspend fun defaultResourceSpec(`value`: UserProfileResourceSpecArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.defaultResourceSpec = mapped
}
/**
* @param argument The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app.
*/
@JvmName("pgipqftdwvisjffo")
public suspend fun defaultResourceSpec(argument: suspend UserProfileResourceSpecArgsBuilder.() -> Unit) {
val toBeMapped = UserProfileResourceSpecArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.defaultResourceSpec = mapped
}
internal fun build(): UserProfileJupyterServerAppSettingsArgs =
UserProfileJupyterServerAppSettingsArgs(
defaultResourceSpec = defaultResourceSpec,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy