class Aws::AmplifyUIBuilder::Types::ComponentProperty
Describes the configuration for all of a component's properties. Use `ComponentProperty` to specify the values to render or bind by default.
@note When making an API call, you may pass ComponentProperty
data as a hash: { binding_properties: { field: "String", property: "String", # required }, bindings: { "String" => { element: "String", # required property: "String", # required }, }, collection_binding_properties: { field: "String", property: "String", # required }, concat: [ { binding_properties: { field: "String", property: "String", # required }, bindings: { "String" => { element: "String", # required property: "String", # required }, }, collection_binding_properties: { field: "String", property: "String", # required }, concat: { # recursive ComponentPropertyList }, condition: { else: { # recursive ComponentProperty }, field: "String", operand: "String", operator: "String", property: "String", then: { # recursive ComponentProperty }, }, configured: false, default_value: "String", event: "String", imported_value: "String", model: "String", type: "String", user_attribute: "String", value: "String", }, ], condition: { else: { binding_properties: { field: "String", property: "String", # required }, bindings: { "String" => { element: "String", # required property: "String", # required }, }, collection_binding_properties: { field: "String", property: "String", # required }, concat: [ { # recursive ComponentProperty }, ], condition: { # recursive ComponentConditionProperty }, configured: false, default_value: "String", event: "String", imported_value: "String", model: "String", type: "String", user_attribute: "String", value: "String", }, field: "String", operand: "String", operator: "String", property: "String", then: { binding_properties: { field: "String", property: "String", # required }, bindings: { "String" => { element: "String", # required property: "String", # required }, }, collection_binding_properties: { field: "String", property: "String", # required }, concat: [ { # recursive ComponentProperty }, ], condition: { # recursive ComponentConditionProperty }, configured: false, default_value: "String", event: "String", imported_value: "String", model: "String", type: "String", user_attribute: "String", value: "String", }, }, configured: false, default_value: "String", event: "String", imported_value: "String", model: "String", type: "String", user_attribute: "String", value: "String", }
@!attribute [rw] binding_properties
The information to bind the component property to data at runtime. @return [Types::ComponentPropertyBindingProperties]
@!attribute [rw] bindings
The information to bind the component property to form data. @return [Hash<String,Types::FormBindingElement>]
@!attribute [rw] collection_binding_properties
The information to bind the component property to data at runtime. Use this for collection components. @return [Types::ComponentPropertyBindingProperties]
@!attribute [rw] concat
A list of component properties to concatenate to create the value to assign to this component property. @return [Array<Types::ComponentProperty>]
@!attribute [rw] condition
The conditional expression to use to assign a value to the component property.. @return [Types::ComponentConditionProperty]
@!attribute [rw] configured
Specifies whether the user configured the property in Amplify Studio after importing it. @return [Boolean]
@!attribute [rw] default_value
The default value to assign to the component property. @return [String]
@!attribute [rw] event
An event that occurs in your app. Use this for workflow data binding. @return [String]
@!attribute [rw] imported_value
The default value assigned to property when the component is imported into an app. @return [String]
@!attribute [rw] model
The data model to use to assign a value to the component property. @return [String]
@!attribute [rw] type
The component type. @return [String]
@!attribute [rw] user_attribute
An authenticated user attribute to use to assign a value to the component property. @return [String]
@!attribute [rw] value
The value to assign to the component property. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ComponentProperty AWS API Documentation
Constants
- SENSITIVE