com.pulumi.aws.lambda.kotlin.inputs.FunctionEventInvokeConfigDestinationConfigOnFailureArgs.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.lambda.kotlin.inputs
import com.pulumi.aws.lambda.inputs.FunctionEventInvokeConfigDestinationConfigOnFailureArgs.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 destination Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*/
public data class FunctionEventInvokeConfigDestinationConfigOnFailureArgs(
public val destination: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.lambda.inputs.FunctionEventInvokeConfigDestinationConfigOnFailureArgs =
com.pulumi.aws.lambda.inputs.FunctionEventInvokeConfigDestinationConfigOnFailureArgs.builder()
.destination(destination.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FunctionEventInvokeConfigDestinationConfigOnFailureArgs].
*/
@PulumiTagMarker
public class FunctionEventInvokeConfigDestinationConfigOnFailureArgsBuilder internal constructor() {
private var destination: Output? = null
/**
* @param value Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*/
@JvmName("dprueastfvskrxpw")
public suspend fun destination(`value`: Output) {
this.destination = value
}
/**
* @param value Amazon Resource Name (ARN) of the destination resource. See the [Lambda Developer Guide](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations) for acceptable resource types and associated IAM permissions.
*/
@JvmName("rbckwvpmmevbrilb")
public suspend fun destination(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.destination = mapped
}
internal fun build(): FunctionEventInvokeConfigDestinationConfigOnFailureArgs =
FunctionEventInvokeConfigDestinationConfigOnFailureArgs(
destination = destination ?: throw PulumiNullFieldException("destination"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy