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")
.operator("operator")
.or(List.of(predicateProperty_))
.build()))
.userAttribute("userAttribute")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnComponent.ComponentBindingPropertiesValuePropertiesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAn Amazon S3 bucket.default StringThe default value to assign to the property.default StringgetField()The field to bind the data to.default StringgetKey()The storage key for an Amazon S3 bucket.default StringgetModel()An Amplify DataStore model.default ObjectA list of predicates for binding a component's properties to data.default StringAn authenticated user attribute.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
An Amazon S3 bucket. -
getDefaultValue
The default value to assign to the property. -
getField
The field to bind the data to. -
getKey
The storage key for an Amazon S3 bucket. -
getModel
An Amplify DataStore model. -
getPredicates
A list of predicates for binding a component's properties to data. -
getUserAttribute
An authenticated user attribute. -
builder
@Stability(Stable) static CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder builder()
-