All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.lex.kotlin.inputs.IntentDialogCodeHookArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.lex.kotlin.inputs

import com.pulumi.aws.lex.inputs.IntentDialogCodeHookArgs.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 messageVersion The version of the request-response that you want Amazon Lex to use
 * to invoke your Lambda function. For more information, see
 * [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
 * @property uri The Amazon Resource Name (ARN) of the Lambda function.
 */
public data class IntentDialogCodeHookArgs(
    public val messageVersion: Output,
    public val uri: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.lex.inputs.IntentDialogCodeHookArgs =
        com.pulumi.aws.lex.inputs.IntentDialogCodeHookArgs.builder()
            .messageVersion(messageVersion.applyValue({ args0 -> args0 }))
            .uri(uri.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [IntentDialogCodeHookArgs].
 */
@PulumiTagMarker
public class IntentDialogCodeHookArgsBuilder internal constructor() {
    private var messageVersion: Output? = null

    private var uri: Output? = null

    /**
     * @param value The version of the request-response that you want Amazon Lex to use
     * to invoke your Lambda function. For more information, see
     * [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
     */
    @JvmName("odgqtqbrglbqltog")
    public suspend fun messageVersion(`value`: Output) {
        this.messageVersion = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the Lambda function.
     */
    @JvmName("vwqhlomgybnmucnc")
    public suspend fun uri(`value`: Output) {
        this.uri = value
    }

    /**
     * @param value The version of the request-response that you want Amazon Lex to use
     * to invoke your Lambda function. For more information, see
     * [Using Lambda Functions](https://docs.aws.amazon.com/lex/latest/dg/using-lambda.html). Must be less than or equal to 5 characters in length.
     */
    @JvmName("ytcigekbljrttmsp")
    public suspend fun messageVersion(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.messageVersion = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the Lambda function.
     */
    @JvmName("oisxxnmyoybknduk")
    public suspend fun uri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.uri = mapped
    }

    internal fun build(): IntentDialogCodeHookArgs = IntentDialogCodeHookArgs(
        messageVersion = messageVersion ?: throw PulumiNullFieldException("messageVersion"),
        uri = uri ?: throw PulumiNullFieldException("uri"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy