# OrderProperty

Specifies the sort order of a sorted column.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const orderProperty: glue.CfnTable.OrderProperty = {
  column: 'column',
  sortOrder: 123,
};
```

Python:

```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_glue as glue

order_property = glue.CfnTable.OrderProperty(
    column="column",
    sort_order=123
)
```

Java:

```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.glue.*;

OrderProperty orderProperty = OrderProperty.builder()
        .column("column")
        .sortOrder(123)
        .build();
```

C# / .NET:

```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.Glue;

var orderProperty = new OrderProperty {
    Column = "column",
    SortOrder = 123
};
```

Golang:

```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"

orderProperty := &OrderProperty{
	Column: jsii.String("column"),
	SortOrder: jsii.Number(123),
}
```

## Properties

- `column`: string (required) — The name of the column.

- `sortOrder`: number (required) — Indicates that the column is sorted in ascending order ( `== 1` ), or in descending order ( `==0` ).
