# IcebergSortFieldProperty

A sort field in an Iceberg sort order.

- Source: Generated at build time
- Type last changed: v2.253.0 · 6 May 2026

## 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 icebergSortFieldProperty: glue.CfnTable.IcebergSortFieldProperty = {
  direction: 'direction',
  nullOrder: 'nullOrder',
  sourceId: 123,
  transform: 'transform',
};
```

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

iceberg_sort_field_property = glue.CfnTable.IcebergSortFieldProperty(
    direction="direction",
    null_order="nullOrder",
    source_id=123,
    transform="transform"
)
```

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

IcebergSortFieldProperty icebergSortFieldProperty = IcebergSortFieldProperty.builder()
        .direction("direction")
        .nullOrder("nullOrder")
        .sourceId(123)
        .transform("transform")
        .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 icebergSortFieldProperty = new IcebergSortFieldProperty {
    Direction = "direction",
    NullOrder = "nullOrder",
    SourceId = 123,
    Transform = "transform"
};
```

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"

icebergSortFieldProperty := &IcebergSortFieldProperty{
	Direction: jsii.String("direction"),
	NullOrder: jsii.String("nullOrder"),
	SourceId: jsii.Number(123),
	Transform: jsii.String("transform"),
}
```

## Properties

- `direction`: string (required) — The sort direction.

- `nullOrder`: string (required) — The null ordering.

- `sourceId`: number (required) — The source field ID.

- `transform`: string (required) — The transform to apply.
