Interface HookConfiguration.Builder

    • Method Detail

      • invocationCondition

        HookConfiguration.Builder invocationCondition​(DocumentAttributeCondition invocationCondition)

        The condition used for when a Lambda function should be invoked.

        For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.

        Parameters:
        invocationCondition - The condition used for when a Lambda function should be invoked.

        For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.

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

        HookConfiguration.Builder lambdaArn​(String lambdaArn)

        The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see IAM roles for Amazon Kendra.

        Parameters:
        lambdaArn - The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see IAM roles for Amazon Kendra.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3Bucket

        HookConfiguration.Builder s3Bucket​(String s3Bucket)

        Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions.

        Parameters:
        s3Bucket - Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.