interface ComponentDataConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder.CfnComponentPropsMixin.ComponentDataConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplifyuibuilder#CfnComponentPropsMixin_ComponentDataConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnComponentPropsMixin.ComponentDataConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_amplifyuibuilder.CfnComponentPropsMixin.ComponentDataConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplifyuibuilder » 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 { aws_amplifyuibuilder as amplifyuibuilder } from '@aws-cdk/cfn-property-mixins';
declare const predicateProperty_: amplifyuibuilder.CfnComponentPropsMixin.PredicateProperty;
const componentDataConfigurationProperty: amplifyuibuilder.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