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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifyuibuilder/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)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#childrenArray<Types::ComponentChild>

A list of the component's ComponentChild instances.

Returns:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#created_atTime

The time that the component was created.

Returns:

  • (Time)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#environment_nameString

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

Returns:

  • (String)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#idString

The unique ID of the component.

Returns:

  • (String)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#modified_atTime

The time that the component was modified.

Returns:

  • (Time)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#nameString

The name of the component.

Returns:

  • (String)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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>>)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#schema_versionString

The schema version of the component when it was imported.

Returns:

  • (String)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#source_idString

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

Returns:

  • (String)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

class Component < Struct.new(
  :app_id,
  :binding_properties,
  :children,
  :collection_properties,
  :component_type,
  :created_at,
  :environment_name,
  :events,
  :id,
  :modified_at,
  :name,
  :overrides,
  :properties,
  :schema_version,
  :source_id,
  :tags,
  :variants)
  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:



534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 534

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