
com.pulumi.aws.pipes.kotlin.inputs.PipeTargetParametersEcsTaskParametersOverridesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.pipes.kotlin.inputs
import com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesArgs.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 containerOverrides One or more container overrides that are sent to a task. Detailed below.
* @property cpu The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
* @property ephemeralStorage The ephemeral storage setting override for the task. Detailed below.
* @property executionRoleArn The Amazon Resource Name (ARN) of the task execution IAM role override for the task.
* @property inferenceAcceleratorOverrides List of Elastic Inference accelerator overrides for the task. Detailed below.
* @property memory The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
* @property taskRoleArn The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role.
*/
public data class PipeTargetParametersEcsTaskParametersOverridesArgs(
public val containerOverrides: Output>? = null,
public val cpu: Output? = null,
public val ephemeralStorage: Output? = null,
public val executionRoleArn: Output? = null,
public val inferenceAcceleratorOverrides: Output>? =
null,
public val memory: Output? = null,
public val taskRoleArn: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesArgs =
com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesArgs.builder()
.containerOverrides(
containerOverrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.cpu(cpu?.applyValue({ args0 -> args0 }))
.ephemeralStorage(ephemeralStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.executionRoleArn(executionRoleArn?.applyValue({ args0 -> args0 }))
.inferenceAcceleratorOverrides(
inferenceAcceleratorOverrides?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.memory(memory?.applyValue({ args0 -> args0 }))
.taskRoleArn(taskRoleArn?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipeTargetParametersEcsTaskParametersOverridesArgs].
*/
@PulumiTagMarker
public class PipeTargetParametersEcsTaskParametersOverridesArgsBuilder internal constructor() {
private var containerOverrides:
Output>? = null
private var cpu: Output? = null
private var ephemeralStorage:
Output? = null
private var executionRoleArn: Output? = null
private var inferenceAcceleratorOverrides:
Output>? =
null
private var memory: Output? = null
private var taskRoleArn: Output? = null
/**
* @param value One or more container overrides that are sent to a task. Detailed below.
*/
@JvmName("shuvdjveuvluntto")
public suspend fun containerOverrides(`value`: Output>) {
this.containerOverrides = value
}
@JvmName("tbseqvneravafstm")
public suspend fun containerOverrides(vararg values: Output) {
this.containerOverrides = Output.all(values.asList())
}
/**
* @param values One or more container overrides that are sent to a task. Detailed below.
*/
@JvmName("rpmgqqhbxkbstwqc")
public suspend fun containerOverrides(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy