Class: Aws::Lambda::Types::OnFailure
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::OnFailure
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
A destination for events that failed processing. For more information, see [Adding a destination].
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#destination ⇒ String
The Amazon Resource Name (ARN) of the destination resource.
Instance Attribute Details
#destination ⇒ String
The Amazon Resource Name (ARN) of the destination resource.
To retain records of failed invocations from [Kinesis], [DynamoDB], [self-managed Apache Kafka], or [Amazon MSK], you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination.
<note markdown=“1”> Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending OnFailure event to the destination. For details on this behavior, refer to [Retaining records of asynchronous invocations].
</note>
To retain records of failed invocations from [Kinesis],
configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
[1]: docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html [2]: docs.aws.amazon.com/lambda/latest/dg/with-ddb.html [3]: docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html [4]: docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html [5]: docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination [6]: docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
7010 7011 7012 7013 7014 |
# File 'lib/aws-sdk-lambda/types.rb', line 7010 class OnFailure < Struct.new( :destination) SENSITIVE = [] include Aws::Structure end |