Interface CfnComponent.ComponentBindingPropertiesValueProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.ComponentBindingPropertiesValueProperty.Jsii$Proxy
- Enclosing class:
CfnComponent
@Stability(Stable)
public static interface CfnComponent.ComponentBindingPropertiesValueProperty
extends software.amazon.jsii.JsiiSerializable
The
ComponentBindingPropertiesValue
property specifies the data binding configuration for a component at runtime.
You can use ComponentBindingPropertiesValue
to add exposed properties to a component to allow different values to be entered when a component is reused in different places in an app.
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.*; PredicateProperty predicateProperty_; ComponentBindingPropertiesValueProperty componentBindingPropertiesValueProperty = ComponentBindingPropertiesValueProperty.builder() .bindingProperties(ComponentBindingPropertiesValuePropertiesProperty.builder() .bucket("bucket") .defaultValue("defaultValue") .field("field") .key("key") .model("model") .predicates(List.of(PredicateProperty.builder() .and(List.of(predicateProperty_)) .field("field") .operand("operand") .operandType("operandType") .operator("operator") .or(List.of(predicateProperty_)) .build())) .slotName("slotName") .userAttribute("userAttribute") .build()) .defaultValue("defaultValue") .type("type") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnComponent.ComponentBindingPropertiesValueProperty
static final class
An implementation forCfnComponent.ComponentBindingPropertiesValueProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBindingProperties
Describes the properties to customize with data at runtime.- See Also:
-
getDefaultValue
The default value of the property.- See Also:
-
getType
The property type.- See Also:
-
builder
-