interface ComponentDataConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmplifyUIBuilder.Mixins.CfnComponentPropsMixin.ComponentDataConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplifyuibuilder/mixins#CfnComponentPropsMixin_ComponentDataConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnComponentPropsMixin.ComponentDataConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_amplifyuibuilder.mixins.CfnComponentPropsMixin.ComponentDataConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amplifyuibuilder » mixins » CfnComponentPropsMixin » ComponentDataConfigurationProperty |
The ComponentDataConfiguration property specifies the configuration for binding a component's properties to data.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as amplifyuibuilder_mixins } from '@aws-cdk/mixins-preview/aws-amplifyuibuilder';
declare const predicateProperty_: amplifyuibuilder_mixins.CfnComponentPropsMixin.PredicateProperty;
const componentDataConfigurationProperty: amplifyuibuilder_mixins.CfnComponentPropsMixin.ComponentDataConfigurationProperty = {
identifiers: ['identifiers'],
model: 'model',
predicate: {
and: [predicateProperty_],
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
or: [predicateProperty_],
},
sort: [{
direction: 'direction',
field: 'field',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| identifiers? | string[] | A list of IDs to use to bind data to a component. |
| model? | string | The name of the data model to use to bind data to a component. |
| predicate? | IResolvable | Predicate | Represents the conditional logic to use when binding data to a component. |
| sort? | IResolvable | (IResolvable | Sort)[] | Describes how to sort the component's properties. |
identifiers?
Type:
string[]
(optional)
A list of IDs to use to bind data to a component.
Use this property to bind specifically chosen data, rather than data retrieved from a query.
model?
Type:
string
(optional)
The name of the data model to use to bind data to a component.
predicate?
Type:
IResolvable | Predicate
(optional)
Represents the conditional logic to use when binding data to a component.
Use this property to retrieve only a subset of the data in a collection.
sort?
Type:
IResolvable | (IResolvable | Sort)[]
(optional)
Describes how to sort the component's properties.

.NET
Go
Java
Python
TypeScript