CreateComponentData
¶
Used by
-
AmplifyUIBuilderClient Operationscreate_component -
AsyncAmplifyUIBuilderClient Operationscreate_component
Source code in docs_src/capo_amplifyuibuilder/types/create_component_data.py
binding_properties
instance-attribute
¶
binding_properties: ComponentBindingProperties
The data binding information for the component's properties.
children
instance-attribute
¶
children: NotRequired[ComponentChildList]
A list of child components that are instances of the main component.
collection_properties
instance-attribute
¶
collection_properties: NotRequired[ComponentCollectionProperties]
The data binding configuration for customizing a component's properties. Use this for a collection component.
component_type
instance-attribute
¶
component_type: ComponentType
The component type. This can be an Amplify custom UI component or another custom component.
events
instance-attribute
¶
events: NotRequired[ComponentEvents]
The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
overrides
instance-attribute
¶
overrides: ComponentOverrides
Describes the component properties that can be overriden to customize an instance of the component.
properties
instance-attribute
¶
properties: ComponentProperties
Describes the component's 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 data.
variants
instance-attribute
¶
variants: ComponentVariants
A list of the unique variants of this component.