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 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 StringThe name of a component slot.default StringAn 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComponent.PredicateProperty>- 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()
-