Component
¶
Source code in docs_src/capo_amplifyuibuilder/types/component.py
app_id
instance-attribute
¶
app_id: str
The unique ID of the Amplify app associated with the component.
binding_properties
instance-attribute
¶
binding_properties: ComponentBindingProperties
The information to connect a component's properties to data at runtime. You can't specify tags as a valid property for bindingProperties.
children
instance-attribute
¶
children: NotRequired[ComponentChildList]
A list of the component's ComponentChild instances.
collection_properties
instance-attribute
¶
collection_properties: NotRequired[ComponentCollectionProperties]
The data binding configuration for the component's properties. Use this for a collection component. You can't specify tags as a valid property for collectionProperties.
component_type
instance-attribute
¶
component_type: ComponentType
The type of the component. This can be an Amplify custom UI component or another custom component.
environment_name
instance-attribute
¶
environment_name: str
The name of the backend environment that is a part of the Amplify app.
events
instance-attribute
¶
events: NotRequired[ComponentEvents]
Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
modified_at
instance-attribute
¶
modified_at: NotRequired[datetime]
The time that the component was modified.
overrides
instance-attribute
¶
overrides: ComponentOverrides
Describes the component's properties that can be overriden in a customized instance of the component. You can't specify tags as a valid property for overrides.
properties
instance-attribute
¶
properties: ComponentProperties
Describes the component's properties. You can't specify tags as a valid property for properties.
schema_version
instance-attribute
¶
schema_version: NotRequired[str]
The schema version of the component when it was imported.
source_id
instance-attribute
¶
source_id: NotRequired[str]
The unique ID of the component in its original source system, such as Figma.
tags
instance-attribute
¶
tags: NotRequired[Tags]
One or more key-value pairs to use when tagging the component.
variants
instance-attribute
¶
variants: ComponentVariants
A list of the component's variants. A variant is a unique style configuration of a main component.