Class FunctionDeadLetterConfigArgs.Builder

    • Method Detail

      • targetArn

        public FunctionDeadLetterConfigArgs.Builder targetArn​(com.pulumi.core.Output<java.lang.String> targetArn)
        Parameters:
        targetArn - 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.
        Returns:
        builder
      • targetArn

        public FunctionDeadLetterConfigArgs.Builder targetArn​(java.lang.String targetArn)
        Parameters:
        targetArn - 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.
        Returns:
        builder