Skip to content

ComponentVariant

Source code in docs_src/capo_amplifyuibuilder/types/component_variant.py
class ComponentVariant(TypedDict, closed=True):
    variant_values: NotRequired[
        "capo_amplifyuibuilder.types.component_variant_values.ComponentVariantValues"
    ]
    """<p>The combination of variants that comprise this variant. You can't specify <code>tags</code> as a valid property for <code>variantValues</code>.</p>"""
    overrides: NotRequired[
        "capo_amplifyuibuilder.types.component_overrides.ComponentOverrides"
    ]
    """<p>The properties of the component variant that can be overriden when customizing an instance of the component. You can't specify <code>tags</code> as a valid property for <code>overrides</code>.</p>"""

overrides instance-attribute

overrides: NotRequired[ComponentOverrides]

The properties of the component variant that can be overriden when customizing an instance of the component. You can't specify tags as a valid property for overrides.

variant_values instance-attribute

variant_values: NotRequired[ComponentVariantValues]

The combination of variants that comprise this variant. You can't specify tags as a valid property for variantValues.