DataSourceDocumentAttributeConditionArgs

data class DataSourceDocumentAttributeConditionArgs(val conditionDocumentAttributeKey: Output<String>, val conditionOnValue: Output<DataSourceDocumentAttributeValueArgs>? = null, val operator: Output<DataSourceConditionOperator>) : ConvertibleToJava<DataSourceDocumentAttributeConditionArgs>

Constructors

Link copied to clipboard
constructor(conditionDocumentAttributeKey: Output<String>, conditionOnValue: Output<DataSourceDocumentAttributeValueArgs>? = null, operator: Output<DataSourceConditionOperator>)

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.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceDocumentAttributeConditionArgs