DataSourceDocumentAttributeCondition

data class DataSourceDocumentAttributeCondition(val conditionDocumentAttributeKey: String, val conditionOnValue: DataSourceDocumentAttributeValue? = null, val operator: DataSourceConditionOperator)

Constructors

Link copied to clipboard
constructor(conditionDocumentAttributeKey: String, conditionOnValue: DataSourceDocumentAttributeValue? = null, operator: DataSourceConditionOperator)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The identifier of the document attribute used for the condition. For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. Amazon Kendra currently does not support _document_body as an attribute key used for the condition.

Link copied to clipboard

The value used by the operator. For example, you can specify the value 'financial' for strings in the 'Source_URI' field that partially match or contain this value.

Link copied to clipboard

The condition operator. For example, you can use 'Contains' to partially match a string.