condition
fun Item.condition(expression: String?, expressionAttributeNames: TokensToNames?, expressionAttributeValues: TokensToValues?): Map<AttributeName, AttributeValue>?
Apply the conditional expression to the Item. If the condition is null or resolves to true returns the item, or returns null.