Class: Aws::AmplifyUIBuilder::Types::CreateComponentData

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

Overview

Represents all of the information that is required to create a component.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#binding_propertiesHash<String,Types::ComponentBindingPropertiesValue>

The data binding information for the component’s properties.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#childrenArray<Types::ComponentChild>

A list of child components that are instances of the main component.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#collection_propertiesHash<String,Types::ComponentDataConfiguration>

The data binding configuration for customizing a component’s properties. Use this for a collection component.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#component_typeString

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

Returns:

  • (String)


1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#eventsHash<String,Types::ComponentEvent>

The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#nameString

The name of the component

Returns:

  • (String)


1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

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

Describes the component properties that can be overriden to customize an instance of the component.

Returns:

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


1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#propertiesHash<String,Types::ComponentProperty>

Describes the component’s properties.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#schema_versionString

The schema version of the component when it was imported.

Returns:

  • (String)


1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

class CreateComponentData < Struct.new(
  :name,
  :source_id,
  :component_type,
  :properties,
  :children,
  :variants,
  :overrides,
  :binding_properties,
  :collection_properties,
  :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)


1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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

#variantsArray<Types::ComponentVariant>

A list of the unique variants of this component.

Returns:



1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 1076

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