
com.pulumi.awsnative.sagemaker.kotlin.AppArgs.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
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
import com.pulumi.awsnative.sagemaker.AppArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.AppType
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppResourceSpecArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.AppResourceSpecArgsBuilder
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
/**
* Resource Type definition for AWS::SageMaker::App
* @property appName The name of the app.
* @property appType The type of app.
* @property domainId The domain ID.
* @property resourceSpec The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
* @property tags A list of tags to apply to the app.
* @property userProfileName The user profile name.
*/
public data class AppArgs(
public val appName: Output? = null,
public val appType: Output? = null,
public val domainId: Output? = null,
public val resourceSpec: Output? = null,
public val tags: Output>? = null,
public val userProfileName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.AppArgs =
com.pulumi.awsnative.sagemaker.AppArgs.builder()
.appName(appName?.applyValue({ args0 -> args0 }))
.appType(appType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.domainId(domainId?.applyValue({ args0 -> args0 }))
.resourceSpec(resourceSpec?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.userProfileName(userProfileName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppArgs].
*/
@PulumiTagMarker
public class AppArgsBuilder internal constructor() {
private var appName: Output? = null
private var appType: Output? = null
private var domainId: Output? = null
private var resourceSpec: Output? = null
private var tags: Output>? = null
private var userProfileName: Output? = null
/**
* @param value The name of the app.
*/
@JvmName("tfbaaafsdvfpwbyp")
public suspend fun appName(`value`: Output) {
this.appName = value
}
/**
* @param value The type of app.
*/
@JvmName("ohcrxjygioslrumh")
public suspend fun appType(`value`: Output) {
this.appType = value
}
/**
* @param value The domain ID.
*/
@JvmName("nerdidtxflrgbiby")
public suspend fun domainId(`value`: Output) {
this.domainId = value
}
/**
* @param value The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
*/
@JvmName("xxuupirdnlqjqpgx")
public suspend fun resourceSpec(`value`: Output) {
this.resourceSpec = value
}
/**
* @param value A list of tags to apply to the app.
*/
@JvmName("iksjktdxxxlpftwh")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("rgysermrwqkqtfnm")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A list of tags to apply to the app.
*/
@JvmName("ttlvwmgmvyjkbnds")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy