interface SortPropertyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.SortPropertyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_SortPropertyProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.SortPropertyProperty |
Python | aws_cdk.aws_amplifyuibuilder.CfnComponent.SortPropertyProperty |
TypeScript | 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.

.NET
Go
Java
Python
TypeScript