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 unsuccessful [asynchronous invocations], you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, Lambda function, or Amazon EventBridge event bus as the destination.

To retain records of failed invocations from [Kinesis],

DynamoDB], [self-managed Kafka][4

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/with-kinesis.html [3]: docs.aws.amazon.com/lambda/latest/dg/with-ddb.html [4]: docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination [5]: docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination

Returns:

  • (String)


4971
4972
4973
4974
4975
# File 'lib/aws-sdk-lambda/types.rb', line 4971

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