Skip to content

FieldValidationConfiguration

Source code in docs_src/capo_amplifyuibuilder/types/field_validation_configuration.py
class FieldValidationConfiguration(TypedDict, closed=True):
    type: "str"
    """<p>The validation to perform on an object type.<code/> </p>"""
    str_values: NotRequired["capo_amplifyuibuilder.types.str_values.StrValues"]
    """<p>The validation to perform on a string value.</p>"""
    num_values: NotRequired["capo_amplifyuibuilder.types.num_values.NumValues"]
    """<p>The validation to perform on a number value.</p>"""
    validation_message: NotRequired["str"]
    """<p>The validation message to display.</p>"""

num_values instance-attribute

num_values: NotRequired[NumValues]

The validation to perform on a number value.

str_values instance-attribute

str_values: NotRequired[StrValues]

The validation to perform on a string value.

type instance-attribute

type: str

The validation to perform on an object type.

validation_message instance-attribute

validation_message: NotRequired[str]

The validation message to display.