![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.lambda.kotlin.outputs.EventSourceMappingOnFailure.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lambda.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A destination for events that failed processing.
* @property destination The Amazon Resource Name (ARN) of the destination resource.
* To retain records of [asynchronous invocations](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations), you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
* To retain records of failed invocations from [Kinesis and DynamoDB event sources](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations), you can configure an Amazon SNS topic or Amazon SQS queue as the destination.
* To retain records of failed invocations from [self-managed Kafka](https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) or [Amazon MSK](https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
*/
public data class EventSourceMappingOnFailure(
public val destination: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.EventSourceMappingOnFailure): EventSourceMappingOnFailure = EventSourceMappingOnFailure(
destination = javaType.destination().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy