AWS Native is in preview. AWS Classic is fully supported.
aws-native.amplifyuibuilder.Component
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const componentResource = new aws_native.amplifyuibuilder.Component("componentResource", {
appId: "string",
bindingProperties: {
string: {
bindingProperties: {
bucket: "string",
defaultValue: "string",
field: "string",
key: "string",
model: "string",
predicates: [{
and: [componentPredicate],
field: "string",
operand: "string",
operandType: "string",
operator: "string",
or: [componentPredicate],
}],
slotName: "string",
userAttribute: "string",
},
defaultValue: "string",
type: "string",
},
},
children: [{
componentType: "string",
name: "string",
properties: {
string: {
bindingProperties: {
property: "string",
field: "string",
},
bindings: {
string: {
element: "string",
property: "string",
},
},
collectionBindingProperties: {
property: "string",
field: "string",
},
componentName: "string",
concat: [componentProperty],
condition: {
"else": componentProperty,
field: "string",
operand: "string",
operandType: "string",
operator: "string",
property: "string",
then: componentProperty,
},
configured: false,
defaultValue: "string",
event: "string",
importedValue: "string",
model: "string",
property: "string",
type: "string",
userAttribute: "string",
value: "string",
},
},
children: [componentChild],
events: {
string: {
action: "string",
bindingEvent: "string",
parameters: {
anchor: componentProperty,
fields: {
string: componentProperty,
},
global: componentProperty,
id: componentProperty,
model: "string",
state: {
componentName: "string",
property: "string",
set: componentProperty,
},
target: componentProperty,
type: componentProperty,
url: componentProperty,
},
},
},
sourceId: "string",
}],
collectionProperties: {
string: {
model: "string",
identifiers: ["string"],
predicate: componentPredicate,
sort: [{
direction: aws_native.amplifyuibuilder.ComponentSortDirection.Asc,
field: "string",
}],
},
},
componentType: "string",
environmentName: "string",
events: {
string: {
action: "string",
bindingEvent: "string",
parameters: {
anchor: componentProperty,
fields: {
string: componentProperty,
},
global: componentProperty,
id: componentProperty,
model: "string",
state: {
componentName: "string",
property: "string",
set: componentProperty,
},
target: componentProperty,
type: componentProperty,
url: componentProperty,
},
},
},
name: "string",
overrides: {
string: "any",
},
properties: {
string: componentProperty,
},
schemaVersion: "string",
sourceId: "string",
tags: {
string: "string",
},
variants: [{
overrides: {
string: "any",
},
variantValues: {
string: "string",
},
}],
});
Coming soon!
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
The Component resource accepts the following input properties:
- App
Id string - Binding
Properties Dictionary<string, Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Binding Properties Value Args> - Children
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Child> - Collection
Properties Dictionary<string, Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Data Configuration Args> - Component
Type string - Environment
Name string - Events
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Event Args> - Name string
- Overrides Dictionary<string, object>
- Properties
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property Args> - Schema
Version string - Source
Id string - Dictionary<string, string>
- Variants
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Variant>
- App
Id string - Binding
Properties map[string]ComponentBinding Properties Value Args - Children
[]Component
Child Args - Collection
Properties map[string]ComponentData Configuration Args - Component
Type string - Environment
Name string - Events
map[string]Component
Event Args - Name string
- Overrides map[string]interface{}
- Properties
map[string]Component
Property Args - Schema
Version string - Source
Id string - map[string]string
- Variants
[]Component
Variant Args
- app
Id String - binding
Properties Map<String,ComponentBinding Properties Value Args> - children
List<Component
Child> - collection
Properties Map<String,ComponentData Configuration Args> - component
Type String - environment
Name String - events
Map<String,Component
Event Args> - name String
- overrides Map<String,Object>
- properties
Map<String,Component
Property Args> - schema
Version String - source
Id String - Map<String,String>
- variants
List<Component
Variant>
- app
Id string - binding
Properties {[key: string]: ComponentBinding Properties Value Args} - children
Component
Child[] - collection
Properties {[key: string]: ComponentData Configuration Args} - component
Type string - environment
Name string - events
{[key: string]: Component
Event Args} - name string
- overrides {[key: string]: any}
- properties
{[key: string]: Component
Property Args} - schema
Version string - source
Id string - {[key: string]: string}
- variants
Component
Variant[]
- app_
id str - binding_
properties Mapping[str, ComponentBinding Properties Value Args] - children
Sequence[Component
Child Args] - collection_
properties Mapping[str, ComponentData Configuration Args] - component_
type str - environment_
name str - events
Mapping[str, Component
Event Args] - name str
- overrides Mapping[str, Any]
- properties
Mapping[str, Component
Property Args] - schema_
version str - source_
id str - Mapping[str, str]
- variants
Sequence[Component
Variant Args]
- app
Id String - binding
Properties Map<Property Map> - children List<Property Map>
- collection
Properties Map<Property Map> - component
Type String - environment
Name String - events Map<Property Map>
- name String
- overrides Map<Any>
- properties Map<Property Map>
- schema
Version String - source
Id String - Map<String>
- variants List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the Component resource produces the following output properties:
- Aws
Id string - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string
- Aws
Id string - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string
- aws
Id String - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- modified
At String
- aws
Id string - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- modified
At string
- aws_
id str - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str
- aws
Id String - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- modified
At String
Supporting Types
ComponentActionParameters, ComponentActionParametersArgs
- Anchor
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - Fields
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property> - Global
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - Id
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - Model string
- State
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Mutation Action Set State Parameter - Target
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - Type
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property - Url
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property
- anchor
Component
Property - fields
{[key: string]: Component
Property} - global
Component
Property - id
Component
Property - model string
- state
Component
Mutation Action Set State Parameter - target
Component
Property - type
Component
Property - url
Component
Property
- anchor Property Map
- fields Map<Property Map>
- global Property Map
- id Property Map
- model String
- state Property Map
- target Property Map
- type Property Map
- url Property Map
ComponentBindingPropertiesValue, ComponentBindingPropertiesValueArgs
- binding
Properties Property Map - default
Value String - type String
ComponentBindingPropertiesValueProperties, ComponentBindingPropertiesValuePropertiesArgs
- Bucket string
- Default
Value string - Field string
- Key string
- Model string
- Predicates
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Predicate> - Slot
Name string - User
Attribute string
- Bucket string
- Default
Value string - Field string
- Key string
- Model string
- Predicates
[]Component
Predicate - Slot
Name string - User
Attribute string
- bucket String
- default
Value String - field String
- key String
- model String
- predicates
List<Component
Predicate> - slot
Name String - user
Attribute String
- bucket string
- default
Value string - field string
- key string
- model string
- predicates
Component
Predicate[] - slot
Name string - user
Attribute string
- bucket str
- default_
value str - field str
- key str
- model str
- predicates
Sequence[Component
Predicate] - slot_
name str - user_
attribute str
- bucket String
- default
Value String - field String
- key String
- model String
- predicates List<Property Map>
- slot
Name String - user
Attribute String
ComponentChild, ComponentChildArgs
- Component
Type string - Name string
- Properties
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property> - Children
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Child> - Events
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Event> - Source
Id string
- Component
Type string - Name string
- Properties
map[string]Component
Property - Children
[]Component
Child - Events
map[string]Component
Event - Source
Id string
- component
Type String - name String
- properties
Map<String,Component
Property> - children
List<Component
Child> - events
Map<String,Component
Event> - source
Id String
- component
Type string - name string
- properties
{[key: string]: Component
Property} - children
Component
Child[] - events
{[key: string]: Component
Event} - source
Id string
- component_
type str - name str
- properties
Mapping[str, Component
Property] - children
Sequence[Component
Child] - events
Mapping[str, Component
Event] - source_
id str
- component
Type String - name String
- properties Map<Property Map>
- children List<Property Map>
- events Map<Property Map>
- source
Id String
ComponentConditionProperty, ComponentConditionPropertyArgs
- Else
Component
Property - Field string
- Operand string
- Operand
Type string - Operator string
- Property string
- Then
Component
Property
- else_
Component
Property - field String
- operand String
- operand
Type String - operator String
- property String
- then
Component
Property
- else
Component
Property - field string
- operand string
- operand
Type string - operator string
- property string
- then
Component
Property
- else_
Component
Property - field str
- operand str
- operand_
type str - operator str
- property str
- then
Component
Property
- else Property Map
- field String
- operand String
- operand
Type String - operator String
- property String
- then Property Map
ComponentDataConfiguration, ComponentDataConfigurationArgs
- Model string
- Identifiers []string
- Predicate
Component
Predicate - Sort
[]Component
Sort Property
- model String
- identifiers List<String>
- predicate
Component
Predicate - sort
List<Component
Sort Property>
- model string
- identifiers string[]
- predicate
Component
Predicate - sort
Component
Sort Property[]
- model str
- identifiers Sequence[str]
- predicate
Component
Predicate - sort
Sequence[Component
Sort Property]
- model String
- identifiers List<String>
- predicate Property Map
- sort List<Property Map>
ComponentEvent, ComponentEventArgs
- Action string
- Binding
Event string - Parameters
Component
Action Parameters
- action String
- binding
Event String - parameters
Component
Action Parameters
- action string
- binding
Event string - parameters
Component
Action Parameters
- action String
- binding
Event String - parameters Property Map
ComponentFormBindingElement, ComponentFormBindingElementArgs
ComponentMutationActionSetStateParameter, ComponentMutationActionSetStateParameterArgs
- Component
Name string - Property string
- Set
Component
Property
- component
Name String - property String
- set
Component
Property
- component
Name string - property string
- set
Component
Property
- component
Name String - property String
- set Property Map
ComponentPredicate, ComponentPredicateArgs
- And
[]Component
Predicate - Field string
- Operand string
- Operand
Type string - Operator string
- Or
[]Component
Predicate
- and
List<Component
Predicate> - field String
- operand String
- operand
Type String - operator String
- or
List<Component
Predicate>
- and
Component
Predicate[] - field string
- operand string
- operand
Type string - operator string
- or
Component
Predicate[]
- and List<Property Map>
- field String
- operand String
- operand
Type String - operator String
- or List<Property Map>
ComponentProperty, ComponentPropertyArgs
- Binding
Properties Pulumi.Aws Native. Amplify Ui Builder. Inputs. Component Property Binding Properties - Bindings
Dictionary<string, Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Form Binding Element> - Collection
Binding Pulumi.Properties Aws Native. Amplify Ui Builder. Inputs. Component Property Binding Properties - Component
Name string - Concat
List<Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Property> - Condition
Pulumi.
Aws Native. Amplify Ui Builder. Inputs. Component Condition Property - Configured bool
- Default
Value string - Event string
- Imported
Value string - Model string
- Property string
- Type string
- User
Attribute string - Value string
- Binding
Properties ComponentProperty Binding Properties - Bindings
map[string]Component
Form Binding Element - Collection
Binding ComponentProperties Property Binding Properties - Component
Name string - Concat
[]Component
Property - Condition
Component
Condition Property - Configured bool
- Default
Value string - Event string
- Imported
Value string - Model string
- Property string
- Type string
- User
Attribute string - Value string
- binding
Properties ComponentProperty Binding Properties - bindings
Map<String,Component
Form Binding Element> - collection
Binding ComponentProperties Property Binding Properties - component
Name String - concat
List<Component
Property> - condition
Component
Condition Property - configured Boolean
- default
Value String - event String
- imported
Value String - model String
- property String
- type String
- user
Attribute String - value String
- binding
Properties ComponentProperty Binding Properties - bindings
{[key: string]: Component
Form Binding Element} - collection
Binding ComponentProperties Property Binding Properties - component
Name string - concat
Component
Property[] - condition
Component
Condition Property - configured boolean
- default
Value string - event string
- imported
Value string - model string
- property string
- type string
- user
Attribute string - value string
- binding_
properties ComponentProperty Binding Properties - bindings
Mapping[str, Component
Form Binding Element] - collection_
binding_ Componentproperties Property Binding Properties - component_
name str - concat
Sequence[Component
Property] - condition
Component
Condition Property - configured bool
- default_
value str - event str
- imported_
value str - model str
- property str
- type str
- user_
attribute str - value str
- binding
Properties Property Map - bindings Map<Property Map>
- collection
Binding Property MapProperties - component
Name String - concat List<Property Map>
- condition Property Map
- configured Boolean
- default
Value String - event String
- imported
Value String - model String
- property String
- type String
- user
Attribute String - value String
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 "ASC" | "DESC"
- field String
ComponentVariant, ComponentVariantArgs
- Overrides Dictionary<string, object>
- Variant
Values Dictionary<string, string>
- Overrides map[string]interface{}
- Variant
Values map[string]string
- overrides Map<String,Object>
- variant
Values Map<String,String>
- overrides {[key: string]: any}
- variant
Values {[key: string]: string}
- overrides Mapping[str, Any]
- variant_
values Mapping[str, str]
- overrides Map<Any>
- variant
Values Map<String>
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.