Class: Aws::AmplifyUIBuilder::Types::ComponentChild
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyUIBuilder::Types::ComponentChild
- Defined in:
- gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb
Overview
When making an API call, you may pass ComponentChild data as a hash:
{
children: [
{
children: {
# recursive ComponentChildList
},
component_type: "String", # required
events: {
"String" => {
action: "String",
binding_event: "String",
parameters: {
anchor: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
fields: {
"String" => {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
global: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
id: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
model: "String",
state: {
component_name: "String", # required
property: "String", # required
set: { # required
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
target: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
type: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
url: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
},
},
name: "String", # required
properties: { # required
"String" => {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
source_id: "String",
},
],
component_type: "String", # required
events: {
"String" => {
action: "String",
binding_event: "String",
parameters: {
anchor: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
fields: {
"String" => {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
global: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
id: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
model: "String",
state: {
component_name: "String", # required
property: "String", # required
set: { # required
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
target: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
type: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
url: {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
},
},
name: "String", # required
properties: { # required
"String" => {
binding_properties: {
field: "String",
property: "String", # required
},
bindings: {
"String" => {
element: "String", # required
property: "String", # required
},
},
collection_binding_properties: {
field: "String",
property: "String", # required
},
component_name: "String",
concat: [
{
# recursive ComponentProperty
},
],
condition: {
else: {
# recursive ComponentProperty
},
field: "String",
operand: "String",
operand_type: "String",
operator: "String",
property: "String",
then: {
# recursive ComponentProperty
},
},
configured: false,
default_value: "String",
event: "String",
imported_value: "String",
model: "String",
property: "String",
type: "String",
user_attribute: "String",
value: "String",
},
},
source_id: "String",
}
A nested UI configuration within a parent Component
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#children ⇒ Array<Types::ComponentChild>
The list of
ComponentChild
instances for this component. -
#component_type ⇒ String
The type of the child component.
-
#events ⇒ Hash<String,Types::ComponentEvent>
Describes the events that can be raised on the child component.
-
#name ⇒ String
The name of the child component.
-
#properties ⇒ Hash<String,Types::ComponentProperty>
Describes the properties of the child component.
-
#source_id ⇒ String
The unique ID of the child component in its original source system, such as Figma.
Instance Attribute Details
#children ⇒ Array<Types::ComponentChild>
The list of ComponentChild
instances for this component.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1562 class ComponentChild < Struct.new( :children, :component_type, :events, :name, :properties, :source_id) SENSITIVE = [] include Aws::Structure end |
#component_type ⇒ String
The type of the child component.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1562 class ComponentChild < Struct.new( :children, :component_type, :events, :name, :properties, :source_id) SENSITIVE = [] include Aws::Structure end |
#events ⇒ Hash<String,Types::ComponentEvent>
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.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1562 class ComponentChild < Struct.new( :children, :component_type, :events, :name, :properties, :source_id) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the child component.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1562 class ComponentChild < Struct.new( :children, :component_type, :events, :name, :properties, :source_id) SENSITIVE = [] include Aws::Structure end |
#properties ⇒ Hash<String,Types::ComponentProperty>
Describes the properties of the child component. You can't specify
tags
as a valid property for properties
.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1562 class ComponentChild < Struct.new( :children, :component_type, :events, :name, :properties, :source_id) SENSITIVE = [] include Aws::Structure end |
#source_id ⇒ String
The unique ID of the child component in its original source system, such as Figma.
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 1562 class ComponentChild < Struct.new( :children, :component_type, :events, :name, :properties, :source_id) SENSITIVE = [] include Aws::Structure end |