com.pulumi.aws.pipes.kotlin.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.pipes.kotlin.inputs
import com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property type The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). Valid Values: random, spread, binpack.
* @property value Value of parameter to start execution of a SageMaker Model Building Pipeline. Maximum length of 1024.
*/
public data class
PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs(
public val type: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs =
com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs.builder()
.type(type.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs].
*/
@PulumiTagMarker
public class
PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgsBuilder
internal constructor() {
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). Valid Values: random, spread, binpack.
*/
@JvmName("eejsqbcarppvhubb")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Value of parameter to start execution of a SageMaker Model Building Pipeline. Maximum length of 1024.
*/
@JvmName("annjxhufrunmidoq")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The type of placement strategy. The random placement strategy randomly places tasks on available candidates. The spread placement strategy spreads placement across available candidates evenly based on the field parameter. The binpack strategy places tasks on available candidates that have the least available amount of the resource that is specified with the field parameter. For example, if you binpack on memory, a task is placed on the instance with the least amount of remaining memory (but still enough to run the task). Valid Values: random, spread, binpack.
*/
@JvmName("kvkyahqdsvyxkuox")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Value of parameter to start execution of a SageMaker Model Building Pipeline. Maximum length of 1024.
*/
@JvmName("qmpyhaefgjnigvhu")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs =
PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs(
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy