
com.pulumi.awsnative.bedrock.kotlin.inputs.AgentActionGroupExecutor0PropertiesArgs.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.bedrock.kotlin.inputs
import com.pulumi.awsnative.bedrock.inputs.AgentActionGroupExecutor0PropertiesArgs.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
/**
* Type of Executors for an Action Group
* @property lambda ARN of a Lambda.
*/
public data class AgentActionGroupExecutor0PropertiesArgs(
public val lambda: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.AgentActionGroupExecutor0PropertiesArgs = com.pulumi.awsnative.bedrock.inputs.AgentActionGroupExecutor0PropertiesArgs.builder()
.lambda(lambda.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AgentActionGroupExecutor0PropertiesArgs].
*/
@PulumiTagMarker
public class AgentActionGroupExecutor0PropertiesArgsBuilder internal constructor() {
private var lambda: Output? = null
/**
* @param value ARN of a Lambda.
*/
@JvmName("ybygjaygcxjseyka")
public suspend fun lambda(`value`: Output) {
this.lambda = value
}
/**
* @param value ARN of a Lambda.
*/
@JvmName("oecqpobtwxnfvhic")
public suspend fun lambda(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.lambda = mapped
}
internal fun build(): AgentActionGroupExecutor0PropertiesArgs =
AgentActionGroupExecutor0PropertiesArgs(
lambda = lambda ?: throw PulumiNullFieldException("lambda"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy