We recommend new projects start with resources from the AWS provider.
aws-native.amplifyuibuilder.Component
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::AmplifyUIBuilder::Component Resource Type
Create Component Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Component(name: string, args?: ComponentArgs, opts?: CustomResourceOptions);
@overload
def Component(resource_name: str,
args: Optional[ComponentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Component(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
binding_properties: Optional[Mapping[str, ComponentBindingPropertiesValueArgs]] = None,
children: Optional[Sequence[ComponentChildArgs]] = None,
collection_properties: Optional[Mapping[str, ComponentDataConfigurationArgs]] = None,
component_type: Optional[str] = None,
environment_name: Optional[str] = None,
events: Optional[Mapping[str, ComponentEventArgs]] = None,
name: Optional[str] = None,
overrides: Optional[Mapping[str, Any]] = None,
properties: Optional[Mapping[str, ComponentPropertyArgs]] = None,
schema_version: Optional[str] = None,
source_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
variants: Optional[Sequence[ComponentVariantArgs]] = None)
func NewComponent(ctx *Context, name string, args *ComponentArgs, opts ...ResourceOption) (*Component, error)
public Component(string name, ComponentArgs? args = null, CustomResourceOptions? opts = null)
public Component(String name, ComponentArgs args)
public Component(String name, ComponentArgs args, CustomResourceOptions options)
type: aws-native:amplifyuibuilder:Component
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ComponentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ComponentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ComponentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComponentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComponentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Component Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Component resource accepts the following input properties:
- App
Id string - The unique ID of the Amplify app associated with the component.
- Binding
Properties Dictionary<string, Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Binding Properties Value Args> - The information to connect a component's properties to data at runtime. You can't specify
tags
as a valid property forbindingProperties
. - Children
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Child> - A list of the component's
ComponentChild
instances. - Collection
Properties Dictionary<string, Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Data Configuration Args> - The data binding configuration for the component's properties. Use this for a collection component. You can't specify
tags
as a valid property forcollectionProperties
. - Component
Type string - The type of the component. This can be an Amplify custom UI component or another custom component.
- Environment
Name string - The name of the backend environment that is a part of the Amplify app.
- Events
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Event Args> - 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.
- Name string
- The name of the component.
- Overrides Dictionary<string, object>
- 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 foroverrides
. - Properties
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property Args> - Describes the component's properties. You can't specify
tags
as a valid property forproperties
. - Schema
Version string - The schema version of the component when it was imported.
- Source
Id string - The unique ID of the component in its original source system, such as Figma.
- Dictionary<string, string>
- One or more key-value pairs to use when tagging the component.
- Variants
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Variant> - A list of the component's variants. A variant is a unique style configuration of a main component.
- App
Id string - The unique ID of the Amplify app associated with the component.
- Binding
Properties map[string]ComponentBinding Properties Value Args - The information to connect a component's properties to data at runtime. You can't specify
tags
as a valid property forbindingProperties
. - Children
[]Component
Child Args - A list of the component's
ComponentChild
instances. - Collection
Properties map[string]ComponentData Configuration Args - The data binding configuration for the component's properties. Use this for a collection component. You can't specify
tags
as a valid property forcollectionProperties
. - Component
Type string - The type of the component. This can be an Amplify custom UI component or another custom component.
- Environment
Name string - The name of the backend environment that is a part of the Amplify app.
- Events
map[string]Component
Event Args - 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.
- Name string
- The name of the component.
- Overrides map[string]interface{}
- 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 foroverrides
. - Properties
map[string]Component
Property Args - Describes the component's properties. You can't specify
tags
as a valid property forproperties
. - Schema
Version string - The schema version of the component when it was imported.
- Source
Id string - The unique ID of the component in its original source system, such as Figma.
- map[string]string
- One or more key-value pairs to use when tagging the component.
- Variants
[]Component
Variant Args - A list of the component's variants. A variant is a unique style configuration of a main component.
- app
Id String - The unique ID of the Amplify app associated with the component.
- binding
Properties Map<String,ComponentBinding Properties Value Args> - The information to connect a component's properties to data at runtime. You can't specify
tags
as a valid property forbindingProperties
. - children
List<Component
Child> - A list of the component's
ComponentChild
instances. - collection
Properties Map<String,ComponentData Configuration Args> - The data binding configuration for the component's properties. Use this for a collection component. You can't specify
tags
as a valid property forcollectionProperties
. - component
Type String - The type of the component. This can be an Amplify custom UI component or another custom component.
- environment
Name String - The name of the backend environment that is a part of the Amplify app.
- events
Map<String,Component
Event Args> - 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.
- name String
- The name of the component.
- overrides Map<String,Object>
- 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 foroverrides
. - properties
Map<String,Component
Property Args> - Describes the component's properties. You can't specify
tags
as a valid property forproperties
. - schema
Version String - The schema version of the component when it was imported.
- source
Id String - The unique ID of the component in its original source system, such as Figma.
- Map<String,String>
- One or more key-value pairs to use when tagging the component.
- variants
List<Component
Variant> - A list of the component's variants. A variant is a unique style configuration of a main component.
- app
Id string - The unique ID of the Amplify app associated with the component.
- binding
Properties {[key: string]: ComponentBinding Properties Value Args} - The information to connect a component's properties to data at runtime. You can't specify
tags
as a valid property forbindingProperties
. - children
Component
Child[] - A list of the component's
ComponentChild
instances. - collection
Properties {[key: string]: ComponentData Configuration Args} - The data binding configuration for the component's properties. Use this for a collection component. You can't specify
tags
as a valid property forcollectionProperties
. - component
Type string - The type of the component. This can be an Amplify custom UI component or another custom component.
- environment
Name string - The name of the backend environment that is a part of the Amplify app.
- events
{[key: string]: Component
Event Args} - 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.
- name string
- The name of the component.
- overrides {[key: string]: any}
- 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 foroverrides
. - properties
{[key: string]: Component
Property Args} - Describes the component's properties. You can't specify
tags
as a valid property forproperties
. - schema
Version string - The schema version of the component when it was imported.
- source
Id string - The unique ID of the component in its original source system, such as Figma.
- {[key: string]: string}
- One or more key-value pairs to use when tagging the component.
- variants
Component
Variant[] - A list of the component's variants. A variant is a unique style configuration of a main component.
- app_
id str - The unique ID of the Amplify app associated with the component.
- binding_
properties Mapping[str, ComponentBinding Properties Value Args] - The information to connect a component's properties to data at runtime. You can't specify
tags
as a valid property forbindingProperties
. - children
Sequence[Component
Child Args] - A list of the component's
ComponentChild
instances. - collection_
properties Mapping[str, ComponentData Configuration Args] - The data binding configuration for the component's properties. Use this for a collection component. You can't specify
tags
as a valid property forcollectionProperties
. - component_
type str - The type of the component. This can be an Amplify custom UI component or another custom component.
- environment_
name str - The name of the backend environment that is a part of the Amplify app.
- events
Mapping[str, Component
Event Args] - 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.
- name str
- The name of the component.
- overrides Mapping[str, Any]
- 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 foroverrides
. - properties
Mapping[str, Component
Property Args] - Describes the component's properties. You can't specify
tags
as a valid property forproperties
. - schema_
version str - The schema version of the component when it was imported.
- source_
id str - The unique ID of the component in its original source system, such as Figma.
- Mapping[str, str]
- One or more key-value pairs to use when tagging the component.
- variants
Sequence[Component
Variant Args] - A list of the component's variants. A variant is a unique style configuration of a main component.
- app
Id String - The unique ID of the Amplify app associated with the component.
- binding
Properties Map<Property Map> - The information to connect a component's properties to data at runtime. You can't specify
tags
as a valid property forbindingProperties
. - children List<Property Map>
- A list of the component's
ComponentChild
instances. - collection
Properties Map<Property Map> - The data binding configuration for the component's properties. Use this for a collection component. You can't specify
tags
as a valid property forcollectionProperties
. - component
Type String - The type of the component. This can be an Amplify custom UI component or another custom component.
- environment
Name String - The name of the backend environment that is a part of the Amplify app.
- events Map<Property Map>
- 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.
- name String
- The name of the component.
- overrides Map<Any>
- 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 foroverrides
. - properties Map<Property Map>
- Describes the component's properties. You can't specify
tags
as a valid property forproperties
. - schema
Version String - The schema version of the component when it was imported.
- source
Id String - The unique ID of the component in its original source system, such as Figma.
- Map<String>
- One or more key-value pairs to use when tagging the component.
- variants List<Property Map>
- A list of the component's variants. A variant is a unique style configuration of a main component.
Outputs
All input properties are implicitly available as output properties. Additionally, the Component resource produces the following output properties:
- Aws
Id string - The unique ID of the component.
- Created
At string - The time that the component was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The time that the component was modified.
- Aws
Id string - The unique ID of the component.
- Created
At string - The time that the component was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - The time that the component was modified.
- aws
Id String - The unique ID of the component.
- created
At String - The time that the component was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The time that the component was modified.
- aws
Id string - The unique ID of the component.
- created
At string - The time that the component was created.
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - The time that the component was modified.
- aws_
id str - The unique ID of the component.
- created_
at str - The time that the component was created.
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - The time that the component was modified.
- aws
Id String - The unique ID of the component.
- created
At String - The time that the component was created.
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - The time that the component was modified.
Supporting Types
ComponentActionParameters, ComponentActionParametersArgs
- Anchor
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The HTML anchor link to the location to open. Specify this value for a navigation action.
- Fields
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property> - A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- Global
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- Id
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The unique ID of the component that the
ActionParameters
apply to. - Model string
- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- State
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Mutation Action Set State Parameter - A key-value pair that specifies the state property name and its initial value.
- Target
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The element within the same component to modify when the action occurs.
- Type
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The type of navigation action. Valid values are
url
andanchor
. This value is required for a navigation action. - Url
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The URL to the location to open. Specify this value for a navigation action.
- Anchor
Component
Property - The HTML anchor link to the location to open. Specify this value for a navigation action.
- Fields
map[string]Component
Property - A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- Global
Component
Property - Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- Id
Component
Property - The unique ID of the component that the
ActionParameters
apply to. - Model string
- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- State
Component
Mutation Action Set State Parameter - A key-value pair that specifies the state property name and its initial value.
- Target
Component
Property - The element within the same component to modify when the action occurs.
- Type
Component
Property - The type of navigation action. Valid values are
url
andanchor
. This value is required for a navigation action. - Url
Component
Property - The URL to the location to open. Specify this value for a navigation action.
- anchor
Component
Property - The HTML anchor link to the location to open. Specify this value for a navigation action.
- fields
Map<String,Component
Property> - A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- global
Component
Property - Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- id
Component
Property - The unique ID of the component that the
ActionParameters
apply to. - model String
- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- state
Component
Mutation Action Set State Parameter - A key-value pair that specifies the state property name and its initial value.
- target
Component
Property - The element within the same component to modify when the action occurs.
- type
Component
Property - The type of navigation action. Valid values are
url
andanchor
. This value is required for a navigation action. - url
Component
Property - The URL to the location to open. Specify this value for a navigation action.
- anchor
Component
Property - The HTML anchor link to the location to open. Specify this value for a navigation action.
- fields
{[key: string]: Component
Property} - A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- global
Component
Property - Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- id
Component
Property - The unique ID of the component that the
ActionParameters
apply to. - model string
- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- state
Component
Mutation Action Set State Parameter - A key-value pair that specifies the state property name and its initial value.
- target
Component
Property - The element within the same component to modify when the action occurs.
- type
Component
Property - The type of navigation action. Valid values are
url
andanchor
. This value is required for a navigation action. - url
Component
Property - The URL to the location to open. Specify this value for a navigation action.
- anchor
Component
Property - The HTML anchor link to the location to open. Specify this value for a navigation action.
- fields
Mapping[str, Component
Property] - A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- global_
Component
Property - Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- id
Component
Property - The unique ID of the component that the
ActionParameters
apply to. - model str
- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- state
Component
Mutation Action Set State Parameter - A key-value pair that specifies the state property name and its initial value.
- target
Component
Property - The element within the same component to modify when the action occurs.
- type
Component
Property - The type of navigation action. Valid values are
url
andanchor
. This value is required for a navigation action. - url
Component
Property - The URL to the location to open. Specify this value for a navigation action.
- anchor Property Map
- The HTML anchor link to the location to open. Specify this value for a navigation action.
- fields Map<Property Map>
- A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
- global Property Map
- Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
- id Property Map
- The unique ID of the component that the
ActionParameters
apply to. - model String
- The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
- state Property Map
- A key-value pair that specifies the state property name and its initial value.
- target Property Map
- The element within the same component to modify when the action occurs.
- type Property Map
- The type of navigation action. Valid values are
url
andanchor
. This value is required for a navigation action. - url Property Map
- The URL to the location to open. Specify this value for a navigation action.
ComponentBindingPropertiesValue, ComponentBindingPropertiesValueArgs
- Binding
Properties Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Binding Properties Value Properties - Describes the properties to customize with data at runtime.
- Default
Value string - The default value of the property.
- Type string
- The property type.
- Binding
Properties ComponentBinding Properties Value Properties - Describes the properties to customize with data at runtime.
- Default
Value string - The default value of the property.
- Type string
- The property type.
- binding
Properties ComponentBinding Properties Value Properties - Describes the properties to customize with data at runtime.
- default
Value String - The default value of the property.
- type String
- The property type.
- binding
Properties ComponentBinding Properties Value Properties - Describes the properties to customize with data at runtime.
- default
Value string - The default value of the property.
- type string
- The property type.
- binding_
properties ComponentBinding Properties Value Properties - Describes the properties to customize with data at runtime.
- default_
value str - The default value of the property.
- type str
- The property type.
- binding
Properties Property Map - Describes the properties to customize with data at runtime.
- default
Value String - The default value of the property.
- type String
- The property type.
ComponentBindingPropertiesValueProperties, ComponentBindingPropertiesValuePropertiesArgs
- Bucket string
- An Amazon S3 bucket.
- Default
Value string - The default value to assign to the property.
- Field string
- The field to bind the data to.
- Key string
- The storage key for an Amazon S3 bucket.
- Model string
- An Amplify DataStore model.
- Predicates
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Predicate> - A list of predicates for binding a component's properties to data.
- Slot
Name string - The name of a component slot.
- User
Attribute string - An authenticated user attribute.
- Bucket string
- An Amazon S3 bucket.
- Default
Value string - The default value to assign to the property.
- Field string
- The field to bind the data to.
- Key string
- The storage key for an Amazon S3 bucket.
- Model string
- An Amplify DataStore model.
- Predicates
[]Component
Predicate - A list of predicates for binding a component's properties to data.
- Slot
Name string - The name of a component slot.
- User
Attribute string - An authenticated user attribute.
- bucket String
- An Amazon S3 bucket.
- default
Value String - The default value to assign to the property.
- field String
- The field to bind the data to.
- key String
- The storage key for an Amazon S3 bucket.
- model String
- An Amplify DataStore model.
- predicates
List<Component
Predicate> - A list of predicates for binding a component's properties to data.
- slot
Name String - The name of a component slot.
- user
Attribute String - An authenticated user attribute.
- bucket string
- An Amazon S3 bucket.
- default
Value string - The default value to assign to the property.
- field string
- The field to bind the data to.
- key string
- The storage key for an Amazon S3 bucket.
- model string
- An Amplify DataStore model.
- predicates
Component
Predicate[] - A list of predicates for binding a component's properties to data.
- slot
Name string - The name of a component slot.
- user
Attribute string - An authenticated user attribute.
- bucket str
- An Amazon S3 bucket.
- default_
value str - The default value to assign to the property.
- field str
- The field to bind the data to.
- key str
- The storage key for an Amazon S3 bucket.
- model str
- An Amplify DataStore model.
- predicates
Sequence[Component
Predicate] - A list of predicates for binding a component's properties to data.
- slot_
name str - The name of a component slot.
- user_
attribute str - An authenticated user attribute.
- bucket String
- An Amazon S3 bucket.
- default
Value String - The default value to assign to the property.
- field String
- The field to bind the data to.
- key String
- The storage key for an Amazon S3 bucket.
- model String
- An Amplify DataStore model.
- predicates List<Property Map>
- A list of predicates for binding a component's properties to data.
- slot
Name String - The name of a component slot.
- user
Attribute String - An authenticated user attribute.
ComponentChild, ComponentChildArgs
- Component
Type string - The type of the child component.
- Name string
- The name of the child component.
- Properties
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property> - Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
. - Children
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Child> - The list of
ComponentChild
instances for this component. - Events
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Event> - Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- Source
Id string - The unique ID of the child component in its original source system, such as Figma.
- Component
Type string - The type of the child component.
- Name string
- The name of the child component.
- Properties
map[string]Component
Property - Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
. - Children
[]Component
Child - The list of
ComponentChild
instances for this component. - Events
map[string]Component
Event - Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- Source
Id string - The unique ID of the child component in its original source system, such as Figma.
- component
Type String - The type of the child component.
- name String
- The name of the child component.
- properties
Map<String,Component
Property> - Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
. - children
List<Component
Child> - The list of
ComponentChild
instances for this component. - events
Map<String,Component
Event> - Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- source
Id String - The unique ID of the child component in its original source system, such as Figma.
- component
Type string - The type of the child component.
- name string
- The name of the child component.
- properties
{[key: string]: Component
Property} - Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
. - children
Component
Child[] - The list of
ComponentChild
instances for this component. - events
{[key: string]: Component
Event} - Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- source
Id string - The unique ID of the child component in its original source system, such as Figma.
- component_
type str - The type of the child component.
- name str
- The name of the child component.
- properties
Mapping[str, Component
Property] - Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
. - children
Sequence[Component
Child] - The list of
ComponentChild
instances for this component. - events
Mapping[str, Component
Event] - Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- source_
id str - The unique ID of the child component in its original source system, such as Figma.
- component
Type String - The type of the child component.
- name String
- The name of the child component.
- properties Map<Property Map>
- Describes the properties of the child component. You can't specify
tags
as a valid property forproperties
. - children List<Property Map>
- The list of
ComponentChild
instances for this component. - events Map<Property Map>
- Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
- source
Id String - The unique ID of the child component in its original source system, such as Figma.
ComponentConditionProperty, ComponentConditionPropertyArgs
- Else
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The value to assign to the property if the condition is not met.
- Field string
- The name of a field. Specify this when the property is a data model.
- Operand string
- The value of the property to evaluate.
- Operand
Type string - The type of the property to evaluate.
- Operator string
- The operator to use to perform the evaluation, such as
eq
to represent equals. - Property string
- The name of the conditional property.
- Then
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The value to assign to the property if the condition is met.
- Else
Component
Property - The value to assign to the property if the condition is not met.
- Field string
- The name of a field. Specify this when the property is a data model.
- Operand string
- The value of the property to evaluate.
- Operand
Type string - The type of the property to evaluate.
- Operator string
- The operator to use to perform the evaluation, such as
eq
to represent equals. - Property string
- The name of the conditional property.
- Then
Component
Property - The value to assign to the property if the condition is met.
- else_
Component
Property - The value to assign to the property if the condition is not met.
- field String
- The name of a field. Specify this when the property is a data model.
- operand String
- The value of the property to evaluate.
- operand
Type String - The type of the property to evaluate.
- operator String
- The operator to use to perform the evaluation, such as
eq
to represent equals. - property String
- The name of the conditional property.
- then
Component
Property - The value to assign to the property if the condition is met.
- else
Component
Property - The value to assign to the property if the condition is not met.
- field string
- The name of a field. Specify this when the property is a data model.
- operand string
- The value of the property to evaluate.
- operand
Type string - The type of the property to evaluate.
- operator string
- The operator to use to perform the evaluation, such as
eq
to represent equals. - property string
- The name of the conditional property.
- then
Component
Property - The value to assign to the property if the condition is met.
- else_
Component
Property - The value to assign to the property if the condition is not met.
- field str
- The name of a field. Specify this when the property is a data model.
- operand str
- The value of the property to evaluate.
- operand_
type str - The type of the property to evaluate.
- operator str
- The operator to use to perform the evaluation, such as
eq
to represent equals. - property str
- The name of the conditional property.
- then
Component
Property - The value to assign to the property if the condition is met.
- else Property Map
- The value to assign to the property if the condition is not met.
- field String
- The name of a field. Specify this when the property is a data model.
- operand String
- The value of the property to evaluate.
- operand
Type String - The type of the property to evaluate.
- operator String
- The operator to use to perform the evaluation, such as
eq
to represent equals. - property String
- The name of the conditional property.
- then Property Map
- The value to assign to the property if the condition is met.
ComponentDataConfiguration, ComponentDataConfigurationArgs
- Model string
- The name of the data model to use to bind data to a component.
- Identifiers List<string>
- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- Predicate
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Predicate - Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- Sort
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Sort Property> - Describes how to sort the component's properties.
- Model string
- The name of the data model to use to bind data to a component.
- Identifiers []string
- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- Predicate
Component
Predicate - Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- Sort
[]Component
Sort Property - Describes how to sort the component's properties.
- model String
- The name of the data model to use to bind data to a component.
- identifiers List<String>
- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- predicate
Component
Predicate - Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- sort
List<Component
Sort Property> - Describes how to sort the component's properties.
- model string
- The name of the data model to use to bind data to a component.
- identifiers string[]
- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- predicate
Component
Predicate - Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- sort
Component
Sort Property[] - Describes how to sort the component's properties.
- model str
- The name of the data model to use to bind data to a component.
- identifiers Sequence[str]
- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- predicate
Component
Predicate - Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- sort
Sequence[Component
Sort Property] - Describes how to sort the component's properties.
- model String
- The name of the data model to use to bind data to a component.
- identifiers List<String>
- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.
- predicate Property Map
- Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.
- sort List<Property Map>
- Describes how to sort the component's properties.
ComponentEvent, ComponentEventArgs
- Action string
- The action to perform when a specific event is raised.
- Binding
Event string - Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed. - Parameters
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Action Parameters - Describes information about the action.
- Action string
- The action to perform when a specific event is raised.
- Binding
Event string - Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed. - Parameters
Component
Action Parameters - Describes information about the action.
- action String
- The action to perform when a specific event is raised.
- binding
Event String - Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed. - parameters
Component
Action Parameters - Describes information about the action.
- action string
- The action to perform when a specific event is raised.
- binding
Event string - Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed. - parameters
Component
Action Parameters - Describes information about the action.
- action str
- The action to perform when a specific event is raised.
- binding_
event str - Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed. - parameters
Component
Action Parameters - Describes information about the action.
- action String
- The action to perform when a specific event is raised.
- binding
Event String - Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed. - parameters Property Map
- Describes information about the action.
ComponentFormBindingElement, ComponentFormBindingElementArgs
ComponentMutationActionSetStateParameter, ComponentMutationActionSetStateParameterArgs
- Component
Name string - The name of the component that is being modified.
- Property string
- The name of the component property to apply the state configuration to.
- Set
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - The state configuration to assign to the property.
- Component
Name string - The name of the component that is being modified.
- Property string
- The name of the component property to apply the state configuration to.
- Set
Component
Property - The state configuration to assign to the property.
- component
Name String - The name of the component that is being modified.
- property String
- The name of the component property to apply the state configuration to.
- set
Component
Property - The state configuration to assign to the property.
- component
Name string - The name of the component that is being modified.
- property string
- The name of the component property to apply the state configuration to.
- set
Component
Property - The state configuration to assign to the property.
- component_
name str - The name of the component that is being modified.
- property str
- The name of the component property to apply the state configuration to.
- set
Component
Property - The state configuration to assign to the property.
- component
Name String - The name of the component that is being modified.
- property String
- The name of the component property to apply the state configuration to.
- set Property Map
- The state configuration to assign to the property.
ComponentPredicate, ComponentPredicateArgs
- And
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Predicate> - A list of predicates to combine logically.
- Field string
- The field to query.
- Operand string
- The value to use when performing the evaluation.
- Operand
Type string - The type of value to use when performing the evaluation.
- Operator string
- The operator to use to perform the evaluation.
- Or
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Predicate> - A list of predicates to combine logically.
- And
[]Component
Predicate - A list of predicates to combine logically.
- Field string
- The field to query.
- Operand string
- The value to use when performing the evaluation.
- Operand
Type string - The type of value to use when performing the evaluation.
- Operator string
- The operator to use to perform the evaluation.
- Or
[]Component
Predicate - A list of predicates to combine logically.
- and
List<Component
Predicate> - A list of predicates to combine logically.
- field String
- The field to query.
- operand String
- The value to use when performing the evaluation.
- operand
Type String - The type of value to use when performing the evaluation.
- operator String
- The operator to use to perform the evaluation.
- or
List<Component
Predicate> - A list of predicates to combine logically.
- and
Component
Predicate[] - A list of predicates to combine logically.
- field string
- The field to query.
- operand string
- The value to use when performing the evaluation.
- operand
Type string - The type of value to use when performing the evaluation.
- operator string
- The operator to use to perform the evaluation.
- or
Component
Predicate[] - A list of predicates to combine logically.
- and_
Sequence[Component
Predicate] - A list of predicates to combine logically.
- field str
- The field to query.
- operand str
- The value to use when performing the evaluation.
- operand_
type str - The type of value to use when performing the evaluation.
- operator str
- The operator to use to perform the evaluation.
- or_
Sequence[Component
Predicate] - A list of predicates to combine logically.
- and List<Property Map>
- A list of predicates to combine logically.
- field String
- The field to query.
- operand String
- The value to use when performing the evaluation.
- operand
Type String - The type of value to use when performing the evaluation.
- operator String
- The operator to use to perform the evaluation.
- or List<Property Map>
- A list of predicates to combine logically.
ComponentProperty, ComponentPropertyArgs
- Binding
Properties Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Property Binding Properties - The information to bind the component property to data at runtime.
- Bindings
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Form Binding Element> - The information to bind the component property to form data.
- Collection
Binding Pulumi.Properties Aws Native. Amplify Ui Builder. Inputs. Component Property Binding Properties - The information to bind the component property to data at runtime. Use this for collection components.
- Component
Name string - The name of the component that is affected by an event.
- Concat
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property> - A list of component properties to concatenate to create the value to assign to this component property.
- Condition
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Condition Property - The conditional expression to use to assign a value to the component property.
- Configured bool
- Specifies whether the user configured the property in Amplify Studio after importing it.
- Default
Value string - The default value to assign to the component property.
- Event string
- An event that occurs in your app. Use this for workflow data binding.
- Imported
Value string - The default value assigned to the property when the component is imported into an app.
- Model string
- The data model to use to assign a value to the component property.
- Property string
- The name of the component's property that is affected by an event.
- Type string
- The component type.
- User
Attribute string - An authenticated user attribute to use to assign a value to the component property.
- Value string
- The value to assign to the component property.
- Binding
Properties ComponentProperty Binding Properties - The information to bind the component property to data at runtime.
- Bindings
map[string]Component
Form Binding Element - The information to bind the component property to form data.
- Collection
Binding ComponentProperties Property Binding Properties - The information to bind the component property to data at runtime. Use this for collection components.
- Component
Name string - The name of the component that is affected by an event.
- Concat
[]Component
Property - A list of component properties to concatenate to create the value to assign to this component property.
- Condition
Component
Condition Property - The conditional expression to use to assign a value to the component property.
- Configured bool
- Specifies whether the user configured the property in Amplify Studio after importing it.
- Default
Value string - The default value to assign to the component property.
- Event string
- An event that occurs in your app. Use this for workflow data binding.
- Imported
Value string - The default value assigned to the property when the component is imported into an app.
- Model string
- The data model to use to assign a value to the component property.
- Property string
- The name of the component's property that is affected by an event.
- Type string
- The component type.
- User
Attribute string - An authenticated user attribute to use to assign a value to the component property.
- Value string
- The value to assign to the component property.
- binding
Properties ComponentProperty Binding Properties - The information to bind the component property to data at runtime.
- bindings
Map<String,Component
Form Binding Element> - The information to bind the component property to form data.
- collection
Binding ComponentProperties Property Binding Properties - The information to bind the component property to data at runtime. Use this for collection components.
- component
Name String - The name of the component that is affected by an event.
- concat
List<Component
Property> - A list of component properties to concatenate to create the value to assign to this component property.
- condition
Component
Condition Property - The conditional expression to use to assign a value to the component property.
- configured Boolean
- Specifies whether the user configured the property in Amplify Studio after importing it.
- default
Value String - The default value to assign to the component property.
- event String
- An event that occurs in your app. Use this for workflow data binding.
- imported
Value String - The default value assigned to the property when the component is imported into an app.
- model String
- The data model to use to assign a value to the component property.
- property String
- The name of the component's property that is affected by an event.
- type String
- The component type.
- user
Attribute String - An authenticated user attribute to use to assign a value to the component property.
- value String
- The value to assign to the component property.
- binding
Properties ComponentProperty Binding Properties - The information to bind the component property to data at runtime.
- bindings
{[key: string]: Component
Form Binding Element} - The information to bind the component property to form data.
- collection
Binding ComponentProperties Property Binding Properties - The information to bind the component property to data at runtime. Use this for collection components.
- component
Name string - The name of the component that is affected by an event.
- concat
Component
Property[] - A list of component properties to concatenate to create the value to assign to this component property.
- condition
Component
Condition Property - The conditional expression to use to assign a value to the component property.
- configured boolean
- Specifies whether the user configured the property in Amplify Studio after importing it.
- default
Value string - The default value to assign to the component property.
- event string
- An event that occurs in your app. Use this for workflow data binding.
- imported
Value string - The default value assigned to the property when the component is imported into an app.
- model string
- The data model to use to assign a value to the component property.
- property string
- The name of the component's property that is affected by an event.
- type string
- The component type.
- user
Attribute string - An authenticated user attribute to use to assign a value to the component property.
- value string
- The value to assign to the component property.
- binding_
properties ComponentProperty Binding Properties - The information to bind the component property to data at runtime.
- bindings
Mapping[str, Component
Form Binding Element] - The information to bind the component property to form data.
- collection_
binding_ Componentproperties Property Binding Properties - The information to bind the component property to data at runtime. Use this for collection components.
- component_
name str - The name of the component that is affected by an event.
- concat
Sequence[Component
Property] - A list of component properties to concatenate to create the value to assign to this component property.
- condition
Component
Condition Property - The conditional expression to use to assign a value to the component property.
- configured bool
- Specifies whether the user configured the property in Amplify Studio after importing it.
- default_
value str - The default value to assign to the component property.
- event str
- An event that occurs in your app. Use this for workflow data binding.
- imported_
value str - The default value assigned to the property when the component is imported into an app.
- model str
- The data model to use to assign a value to the component property.
- property str
- The name of the component's property that is affected by an event.
- type str
- The component type.
- user_
attribute str - An authenticated user attribute to use to assign a value to the component property.
- value str
- The value to assign to the component property.
- binding
Properties Property Map - The information to bind the component property to data at runtime.
- bindings Map<Property Map>
- The information to bind the component property to form data.
- collection
Binding Property MapProperties - The information to bind the component property to data at runtime. Use this for collection components.
- component
Name String - The name of the component that is affected by an event.
- concat List<Property Map>
- A list of component properties to concatenate to create the value to assign to this component property.
- condition Property Map
- The conditional expression to use to assign a value to the component property.
- configured Boolean
- Specifies whether the user configured the property in Amplify Studio after importing it.
- default
Value String - The default value to assign to the component property.
- event String
- An event that occurs in your app. Use this for workflow data binding.
- imported
Value String - The default value assigned to the property when the component is imported into an app.
- model String
- The data model to use to assign a value to the component property.
- property String
- The name of the component's property that is affected by an event.
- type String
- The component type.
- user
Attribute String - An authenticated user attribute to use to assign a value to the component property.
- value String
- The value to assign to the component property.
ComponentPropertyBindingProperties, ComponentPropertyBindingPropertiesArgs
ComponentSortDirection, ComponentSortDirectionArgs
- Asc
- ASC
- Desc
- DESC
- Component
Sort Direction Asc - ASC
- Component
Sort Direction Desc - DESC
- Asc
- ASC
- Desc
- DESC
- Asc
- ASC
- Desc
- DESC
- ASC
- ASC
- DESC
- DESC
- "ASC"
- ASC
- "DESC"
- DESC
ComponentSortProperty, ComponentSortPropertyArgs
- Direction
Pulumi.
Aws Native. Amplify Ui Builder. Component Sort Direction - The direction of the sort, either ascending or descending.
- Field string
- The field to perform the sort on.
- Direction
Component
Sort Direction - The direction of the sort, either ascending or descending.
- Field string
- The field to perform the sort on.
- direction
Component
Sort Direction - The direction of the sort, either ascending or descending.
- field String
- The field to perform the sort on.
- direction
Component
Sort Direction - The direction of the sort, either ascending or descending.
- field string
- The field to perform the sort on.
- direction
Component
Sort Direction - The direction of the sort, either ascending or descending.
- field str
- The field to perform the sort on.
- direction "ASC" | "DESC"
- The direction of the sort, either ascending or descending.
- field String
- The field to perform the sort on.
ComponentVariant, ComponentVariantArgs
- Overrides Dictionary<string, object>
- 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 foroverrides
. - Variant
Values Dictionary<string, string> - The combination of variants that comprise this variant.
- Overrides map[string]interface{}
- 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 foroverrides
. - Variant
Values map[string]string - The combination of variants that comprise this variant.
- overrides Map<String,Object>
- 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 foroverrides
. - variant
Values Map<String,String> - The combination of variants that comprise this variant.
- overrides {[key: string]: any}
- 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 foroverrides
. - variant
Values {[key: string]: string} - The combination of variants that comprise this variant.
- overrides Mapping[str, Any]
- 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 foroverrides
. - variant_
values Mapping[str, str] - The combination of variants that comprise this variant.
- overrides Map<Any>
- 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 foroverrides
. - variant
Values Map<String> - The combination of variants that comprise this variant.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.