interface ComponentBindingPropertiesValuePropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty |
Python | aws_cdk.aws_amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty |
TypeScript | @aws-cdk/aws-amplifyuibuilder » CfnComponent » ComponentBindingPropertiesValuePropertiesProperty |
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 * as amplifyuibuilder from '@aws-cdk/aws-amplifyuibuilder';
declare const predicateProperty_: amplifyuibuilder.CfnComponent.PredicateProperty;
const componentBindingPropertiesValuePropertiesProperty: amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty = {
bucket: 'bucket',
defaultValue: 'defaultValue',
field: 'field',
key: 'key',
model: 'model',
predicates: [{
and: [predicateProperty_],
field: 'field',
operand: 'operand',
operator: 'operator',
or: [predicateProperty_],
}],
userAttribute: 'userAttribute',
};
Properties
| Name | Type | Description |
|---|---|---|
| bucket? | string | An Amazon S3 bucket. |
| default | string | The default value to assign to the property. |
| field? | string | The field to bind the data to. |
| key? | string | The storage key for an Amazon S3 bucket. |
| model? | string | An Amplify DataStore model. |
| predicates? | IResolvable | IResolvable | Predicate[] | A list of predicates for binding a component's properties to data. |
| user | string | An authenticated user attribute. |
bucket?
Type:
string
(optional)
An Amazon S3 bucket.
defaultValue?
Type:
string
(optional)
The default value to assign to the property.
field?
Type:
string
(optional)
The field to bind the data to.
key?
Type:
string
(optional)
The storage key for an Amazon S3 bucket.
model?
Type:
string
(optional)
An Amplify DataStore model.
predicates?
Type:
IResolvable | IResolvable | Predicate[]
(optional)
A list of predicates for binding a component's properties to data.
userAttribute?
Type:
string
(optional)
An authenticated user attribute.

.NET
Java
Python
TypeScript