Class FunctionDeadLetterConfig


  • public final class FunctionDeadLetterConfig
    extends java.lang.Object
    • Method Detail

      • targetArn

        public java.lang.String targetArn()
        Returns:
        ARN of an SNS topic or SQS queue to notify when an invocation fails. If this option is used, the function's IAM role must be granted suitable access to write to the target object, which means allowing either the `sns:Publish` or `sqs:SendMessage` action on this ARN, depending on which service is targeted.