Interface CfnComponent.ComponentBindingPropertiesValuePropertiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Jsii$Proxy
- Enclosing class:
CfnComponent
@Stability(Stable)
public static interface CfnComponent.ComponentBindingPropertiesValuePropertiesProperty
extends software.amazon.jsii.JsiiSerializable
The
ComponentBindingPropertiesValueProperties
property specifies the data binding configuration for a specific property using data stored in AWS .
For AWS connected properties, you can bind a property to data stored in an Amazon S3 bucket, an Amplify DataStore model or an authenticated user attribute.
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_; ComponentBindingPropertiesValuePropertiesProperty componentBindingPropertiesValuePropertiesProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnComponent.ComponentBindingPropertiesValuePropertiesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
An Amazon S3 bucket.default String
The default value to assign to the property.default String
getField()
The field to bind the data to.default String
getKey()
The storage key for an Amazon S3 bucket.default String
getModel()
An Amplify DataStore model.default Object
A list of predicates for binding a component's properties to data.default String
The name of a component slot.default String
An authenticated user attribute.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
An Amazon S3 bucket.- See Also:
-
getDefaultValue
The default value to assign to the property.- See Also:
-
getField
The field to bind the data to.- See Also:
-
getKey
The storage key for an Amazon S3 bucket.- See Also:
-
getModel
An Amplify DataStore model.- See Also:
-
getPredicates
A list of predicates for binding a component's properties to data.- See Also:
-
getSlotName
The name of a component slot.- See Also:
-
getUserAttribute
An authenticated user attribute.- See Also:
-
builder
@Stability(Stable) static CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder builder()
-