class Aws::AmplifyUIBuilder::Types::CreateComponentRequest

@note When making an API call, you may pass CreateComponentRequest

data as a hash:

    {
      app_id: "String", # required
      client_token: "String",
      component_to_create: { # required
        binding_properties: { # required
          "String" => {
            binding_properties: {
              bucket: "String",
              default_value: "String",
              field: "String",
              key: "String",
              model: "String",
              predicates: [
                {
                  and: {
                    # recursive PredicateList
                  },
                  field: "String",
                  operand: "String",
                  operator: "String",
                  or: {
                    # recursive PredicateList
                  },
                },
              ],
              user_attribute: "String",
            },
            default_value: "String",
            type: "String",
          },
        },
        children: [
          {
            children: {
              # recursive ComponentChildList
            },
            component_type: "String", # required
            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
                },
                concat: [
                  {
                    # recursive ComponentProperty
                  },
                ],
                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",
              },
            },
          },
        ],
        collection_properties: {
          "String" => {
            identifiers: ["String"],
            model: "String", # required
            predicate: {
              and: [
                {
                  # recursive Predicate
                },
              ],
              field: "String",
              operand: "String",
              operator: "String",
              or: [
                {
                  # recursive Predicate
                },
              ],
            },
            sort: [
              {
                direction: "ASC", # required, accepts ASC, DESC
                field: "String", # required
              },
            ],
          },
        },
        component_type: "ComponentType", # required
        name: "ComponentName", # required
        overrides: { # required
          "String" => {
            "String" => "String",
          },
        },
        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
            },
            concat: [
              {
                # recursive ComponentProperty
              },
            ],
            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",
          },
        },
        source_id: "String",
        tags: {
          "TagKey" => "TagValue",
        },
        variants: [ # required
          {
            overrides: {
              "String" => {
                "String" => "String",
              },
            },
            variant_values: {
              "String" => "String",
            },
          },
        ],
      },
      environment_name: "String", # required
    }

@!attribute [rw] app_id

The unique ID of the Amplify app to associate with the component.
@return [String]

@!attribute [rw] client_token

The unique client token.

**A suitable default value is auto-generated.** You should normally
not need to pass this option.
@return [String]

@!attribute [rw] component_to_create

Represents the configuration of the component to create.
@return [Types::CreateComponentData]

@!attribute [rw] environment_name

The name of the backend environment that is a part of the Amplify
app.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CreateComponentRequest AWS API Documentation

Constants

SENSITIVE