interface SortPropertyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.SortPropertyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_SortPropertyProperty |
![]() | software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.SortPropertyProperty |
![]() | aws_cdk.aws_amplifyuibuilder.CfnComponent.SortPropertyProperty |
![]() | aws-cdk-lib » aws_amplifyuibuilder » CfnComponent » SortPropertyProperty |
The SortProperty
property specifies how to sort the data that you bind to a component.
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-lib';
const sortPropertyProperty: amplifyuibuilder.CfnComponent.SortPropertyProperty = {
direction: 'direction',
field: 'field',
};
Properties
Name | Type | Description |
---|---|---|
direction | string | The direction of the sort, either ascending or descending. |
field | string | The field to perform the sort on. |
direction
Type:
string
The direction of the sort, either ascending or descending.
field
Type:
string
The field to perform the sort on.