Skip to content
v2.278.0

OrderProperty Struct ​

Specifies the sort order of a sorted column.

Example ​

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
# 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
// 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();
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
};
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 ​

columnstringcolumnstrcolumnStringColumnstringColumn*string required #
The name of the column.
sortOrdernumbersort_orderint | floatsortOrderNumberSortOrderdoubleSortOrder*float64 required #
Indicates that the column is sorted in ascending order ( `== 1` ), or in descending order ( `==0` ).