
com.pulumi.awsnative.sagemaker.kotlin.InferenceComponentArgs.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.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.sagemaker.InferenceComponentArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.InferenceComponentRuntimeConfigArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.InferenceComponentRuntimeConfigArgsBuilder
import com.pulumi.awsnative.sagemaker.kotlin.inputs.InferenceComponentSpecificationArgs
import com.pulumi.awsnative.sagemaker.kotlin.inputs.InferenceComponentSpecificationArgsBuilder
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::InferenceComponent
* @property endpointArn The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
* @property endpointName The name of the endpoint that hosts the inference component.
* @property inferenceComponentName The name of the inference component.
* @property runtimeConfig
* @property specification
* @property tags
* @property variantName The name of the production variant that hosts the inference component.
*/
public data class InferenceComponentArgs(
public val endpointArn: Output? = null,
public val endpointName: Output? = null,
public val inferenceComponentName: Output? = null,
public val runtimeConfig: Output? = null,
public val specification: Output? = null,
public val tags: Output>? = null,
public val variantName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.InferenceComponentArgs =
com.pulumi.awsnative.sagemaker.InferenceComponentArgs.builder()
.endpointArn(endpointArn?.applyValue({ args0 -> args0 }))
.endpointName(endpointName?.applyValue({ args0 -> args0 }))
.inferenceComponentName(inferenceComponentName?.applyValue({ args0 -> args0 }))
.runtimeConfig(runtimeConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.specification(specification?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.variantName(variantName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InferenceComponentArgs].
*/
@PulumiTagMarker
public class InferenceComponentArgsBuilder internal constructor() {
private var endpointArn: Output? = null
private var endpointName: Output? = null
private var inferenceComponentName: Output? = null
private var runtimeConfig: Output? = null
private var specification: Output? = null
private var tags: Output>? = null
private var variantName: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
*/
@JvmName("arufgoilbxsjqikn")
public suspend fun endpointArn(`value`: Output) {
this.endpointArn = value
}
/**
* @param value The name of the endpoint that hosts the inference component.
*/
@JvmName("diiqlcclpqbyfqul")
public suspend fun endpointName(`value`: Output) {
this.endpointName = value
}
/**
* @param value The name of the inference component.
*/
@JvmName("utdusdxoyvmamsof")
public suspend fun inferenceComponentName(`value`: Output) {
this.inferenceComponentName = value
}
/**
* @param value
*/
@JvmName("dsgbbcspehccamoo")
public suspend fun runtimeConfig(`value`: Output) {
this.runtimeConfig = value
}
/**
* @param value
*/
@JvmName("irvfjdmhfefaydob")
public suspend fun specification(`value`: Output) {
this.specification = value
}
/**
* @param value
*/
@JvmName("ytfttccydhbfwtbw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("vssowhihtoasqmdf")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("ruquopeojgtgeodq")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy