Interface OnFailure.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OnFailure.Builder,OnFailure>, SdkBuilder<OnFailure.Builder,OnFailure>, SdkPojo
Enclosing class:
OnFailure

public static interface OnFailure.Builder extends SdkPojo, CopyableBuilder<OnFailure.Builder,OnFailure>
  • Method Details

    • destination

      OnFailure.Builder destination(String destination)

      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.

      Parameters:
      destination - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.