Class: Aws::AmplifyUIBuilder::Types::ComponentChild

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Note:

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

Instance Attribute Details

#childrenArray<Types::ComponentChild>

The list of ComponentChild instances for this component.

Returns:


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_typeString

The type of the child component.

Returns:

  • (String)

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

#eventsHash<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.

Returns:


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

#nameString

The name of the child component.

Returns:

  • (String)

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

#propertiesHash<String,Types::ComponentProperty>

Describes the properties of the child component. You can't specify tags as a valid property for properties.

Returns:


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_idString

The unique ID of the child component in its original source system, such as Figma.

Returns:

  • (String)

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