Generally speaking, an input mask is a user-generated set of rules; e.g., a maximum of 45 characters.
A user-defined set of rules, such as a character limit of 45 characters, is referred to as an input mask.