A lucid dream is, like others have said, simply being aware that you're in a dream, with some form of mental consciousness which would otherwise not normally be present. Regardless of whether you're lucid right from the beginning or become lucid right before the dream ends, it's still a lucid. It doesn't matter if it was a short-lived dream or not, so long as you knew you were dreaming.