Interface CfnComponent.ComponentChildProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.ComponentChildProperty.Jsii$Proxy
- Enclosing class:
CfnComponent
@Stability(Stable)
public static interface CfnComponent.ComponentChildProperty
extends software.amazon.jsii.JsiiSerializable
The
ComponentChild
property specifies a nested UI configuration within a parent Component
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.amplifyuibuilder.*; ComponentChildProperty componentChildProperty_; ComponentPropertyProperty componentPropertyProperty_; ComponentChildProperty componentChildProperty = ComponentChildProperty.builder() .componentType("componentType") .name("name") .properties(Map.of( "propertiesKey", ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build())) // the properties below are optional .children(List.of(componentChildProperty_)) .events(Map.of( "eventsKey", ComponentEventProperty.builder() .action("action") .bindingEvent("bindingEvent") .parameters(ActionParametersProperty.builder() .anchor(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .fields(Map.of( "fieldsKey", ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build())) .global(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .id(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .model("model") .state(MutationActionSetStateParameterProperty.builder() .componentName("componentName") .property("property") .set(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .build()) .target(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .type(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .url(ComponentPropertyProperty.builder() .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .bindings(Map.of( "bindingsKey", FormBindingElementProperty.builder() .element("element") .property("property") .build())) .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder() .property("property") // the properties below are optional .field("field") .build()) .componentName("componentName") .concat(List.of(componentPropertyProperty_)) .condition(ComponentConditionPropertyProperty.builder() .else(componentPropertyProperty_) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .property("property") .then(componentPropertyProperty_) .build()) .configured(false) .defaultValue("defaultValue") .event("event") .importedValue("importedValue") .model("model") .property("property") .type("type") .userAttribute("userAttribute") .value("value") .build()) .build()) .build())) .sourceId("sourceId") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponent.ComponentChildProperty
static final class
An implementation forCfnComponent.ComponentChildProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The list ofComponentChild
instances for this component.The type of the child component.default Object
Describes the events that can be raised on the child component.getName()
The name of the child component.Describes the properties of the child component.default String
The unique ID of the child component in its original source system, such as Figma.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComponentType
The type of the child component.- See Also:
-
getName
The name of the child component.- See Also:
-
getProperties
Describes the properties of the child component.You can't specify
tags
as a valid property forproperties
.- See Also:
-
getChildren
The list ofComponentChild
instances for this component.- See Also:
-
getEvents
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.
- See Also:
-
getSourceId
The unique ID of the child component in its original source system, such as Figma.- See Also:
-
builder
-