Class: Aws::AmplifyUIBuilder::Types::Component

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

Overview

Contains the configuration settings for a user interface (UI) element for an Amplify app. A component is configured as a primary, stand-alone UI element. Use ‘ComponentChild` to configure an instance of a `Component`. A `ComponentChild` instance inherits the configuration of the main `Component`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The unique ID of the Amplify app associated with the component.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#binding_propertiesHash<String,Types::ComponentBindingPropertiesValue>

The information to connect a component’s properties to data at runtime. You can’t specify ‘tags` as a valid property for `bindingProperties`.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#childrenArray<Types::ComponentChild>

A list of the component’s ‘ComponentChild` instances.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#collection_propertiesHash<String,Types::ComponentDataConfiguration>

The data binding configuration for the component’s properties. Use this for a collection component. You can’t specify ‘tags` as a valid property for `collectionProperties`.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#component_typeString

The type of the component. This can be an Amplify custom UI component or another custom component.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The time that the component was created.

Returns:

  • (Time)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#environment_nameString

The name of the backend environment that is a part of the Amplify app.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#eventsHash<String,Types::ComponentEvent>

Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The unique ID of the component.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#modified_atTime

The time that the component was modified.

Returns:

  • (Time)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the component.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#overridesHash<String,Hash<String,String>>

Describes the component’s properties that can be overriden in a customized instance of the component. You can’t specify ‘tags` as a valid property for `overrides`.

Returns:

  • (Hash<String,Hash<String,String>>)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#propertiesHash<String,Types::ComponentProperty>

Describes the component’s properties. You can’t specify ‘tags` as a valid property for `properties`.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#schema_versionString

The schema version of the component when it was imported.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#source_idString

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

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

One or more key-value pairs to use when tagging the component.

Returns:

  • (Hash<String,String>)


591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end

#variantsArray<Types::ComponentVariant>

A list of the component’s variants. A variant is a unique style configuration of a main component.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 591

class Component < Struct.new(
  :app_id,
  :environment_name,
  :source_id,
  :id,
  :name,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :created_at,
  :modified_at,
  :tags,
  :events,
  :schema_version)
  SENSITIVE = []
  include Aws::Structure
end