public static interface CfnComponent.ComponentBindingPropertiesValuePropertiesProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder
|
static class |
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Jsii$Proxy
An implementation for
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty |
Modifier and Type | Method and Description |
---|---|
static CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder |
builder() |
default java.lang.String |
getBucket()
An Amazon S3 bucket.
|
default java.lang.String |
getDefaultValue()
The default value to assign to the property.
|
default java.lang.String |
getField()
The field to bind the data to.
|
default java.lang.String |
getKey()
The storage key for an Amazon S3 bucket.
|
default java.lang.String |
getModel()
An Amplify DataStore model.
|
default java.lang.Object |
getPredicates()
A list of predicates for binding a component's properties to data.
|
default java.lang.String |
getUserAttribute()
An authenticated user attribute.
|
default java.lang.String getBucket()
default java.lang.String getDefaultValue()
default java.lang.String getField()
default java.lang.String getKey()
default java.lang.String getModel()
default java.lang.Object getPredicates()
default java.lang.String getUserAttribute()