AWS::S3Tables::Table IcebergSortOrder - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::S3Tables::Table IcebergSortOrder

Defines the sort order for data within an Iceberg table. Sorting data can improve query performance by enabling more efficient data skipping.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Fields" : [ IcebergSortField, ... ], "OrderId" : Integer }

YAML

Fields: - IcebergSortField OrderId: Integer

Properties

Fields

The list of sort fields that define how data is sorted within files. Each field specifies a source field, sort direction, and null ordering. This field is required if writeOrder is provided.

Required: Yes

Type: Array of IcebergSortField

Update requires: Replacement

OrderId

The unique identifier for this sort order. If not specified, defaults to 1. The order ID is used by Apache Iceberg to track sort order evolution.

Required: No

Type: Integer

Update requires: Replacement