Interface HarnessHookLambdaTarget.Builder

  • Method Details

    • arn

      The ARN of the Lambda function to invoke.

      Parameters:
      arn - The ARN of the Lambda function to invoke.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeoutSeconds

      HarnessHookLambdaTarget.Builder timeoutSeconds(Integer timeoutSeconds)

      The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.

      Parameters:
      timeoutSeconds - The maximum number of seconds to wait for the Lambda function response. The default is 60 seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureMode

      HarnessHookLambdaTarget.Builder failureMode(String failureMode)

      The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.

      Parameters:
      failureMode - The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureMode

      The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.

      Parameters:
      failureMode - The behavior when the Lambda function times out, returns an error, or returns an invalid response. The default is DENY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: