AWS::AmplifyUIBuilder::ComponentThe AWS::AmplifyUIBuilder::Component resource specifies a component within an Amplify app. A component is a user interface (UI) element that you can customize. Use `ComponentChild` to configure an instance of a `Component` . A `ComponentChild` instance inherits the configuration of the main `Component` .
import { CfnComponent } from 'aws-cdk-lib/aws-amplifyuibuilder';Or use the module namespace:
import * as amplifyuibuilder from 'aws-cdk-lib/aws-amplifyuibuilder';
// amplifyuibuilder.CfnComponentConfiguration passed to the constructor as CfnComponentProps.
appIdOptionalstringThe unique ID of the Amplify app associated with the component.
bindingPropertiesOptionalIResolvable | { [key: string]: IResolvable | ComponentBindingPropertiesValueProperty }The information to connect a component's properties to data at runtime. You can't specify `tags` as a valid property for `bindingProperties` .
childrenOptionalIResolvable | IResolvable | ComponentChildProperty[]A list of the component's `ComponentChild` instances.
collectionPropertiesOptionalIResolvable | { [key: string]: IResolvable | ComponentDataConfigurationProperty }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` .
componentTypeOptionalstringThe type of the component. This can be an Amplify custom UI component or another custom component.
environmentNameOptionalstringThe name of the backend environment that is a part of the Amplify app.
eventsOptionalIResolvable | { [key: string]: IResolvable | ComponentEventProperty }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.
nameOptionalstringThe name of the component.
overridesOptionalanyDescribes 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` .
propertiesOptionalIResolvable | { [key: string]: IResolvable | ComponentPropertyProperty }Describes the component's properties. You can't specify `tags` as a valid property for `properties` .
schemaVersionOptionalstringThe schema version of the component when it was imported.
sourceIdOptionalstringThe unique ID of the component in its original source system, such as Figma.
tagsOptional{ [key: string]: string }One or more key-value pairs to use when tagging the component.
variantsOptionalIResolvable | IResolvable | ComponentVariantProperty[]A list of the component's variants. A variant is a unique style configuration of a main component.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-amplifyuibuilderAWS::AmplifyUIBuilder::Component