Class: Aws::Lambda::Types::OnFailure

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

A destination for events that failed processing.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationString

The Amazon Resource Name (ARN) of the destination resource.

To retain records of [asynchronous invocations], 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], you can configure an Amazon SNS topic or Amazon SQS queue as the destination.

To retain records of failed invocations from [self-managed Kafka] or [Amazon MSK], you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.

[1]: docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations [2]: docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations [3]: docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination [4]: docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination

Returns:

  • (String)


4830
4831
4832
4833
4834
# File 'lib/aws-sdk-lambda/types.rb', line 4830

class OnFailure < Struct.new(
  :destination)
  SENSITIVE = []
  include Aws::Structure
end