SortPropertyProperty Struct
The SortProperty property specifies how to sort the data that you bind to a component.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amplifyuibuilder as amplifyuibuilder
sort_property_property = amplifyuibuilder.CfnComponent.SortPropertyProperty(
direction="direction",
field="field"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplifyuibuilder.*;
SortPropertyProperty sortPropertyProperty = SortPropertyProperty.builder()
.direction("direction")
.field("field")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;
var sortPropertyProperty = new SortPropertyProperty {
Direction = "direction",
Field = "field"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
sortPropertyProperty := &SortPropertyProperty{
Direction: jsii.String("direction"),
Field: jsii.String("field"),
}