aws-cdk-lib.aws_amplifyuibuilder.CfnComponent.SortPropertyProperty

interface SortPropertyProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.SortPropertyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_SortPropertyProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnComponent.SortPropertyProperty
Pythonaws_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

NameTypeDescription
directionstringThe direction of the sort, either ascending or descending.
fieldstringThe 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.