# IcebergTableInputProperty

Specifies the Iceberg table configuration.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## 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 icebergTableInputProperty: glue.CfnTable.IcebergTableInputProperty = {
  location: 'location',
  schema: {
    fields: [{
      id: 123,
      name: 'name',
      required: false,
      type: 'type',

      // the properties below are optional
      doc: 'doc',
    }],

    // the properties below are optional
    identifierFieldIds: [123],
    schemaId: 123,
    type: 'type',
  },

  // the properties below are optional
  partitionSpec: {
    fields: [{
      name: 'name',
      sourceId: 123,
      transform: 'transform',

      // the properties below are optional
      fieldId: 123,
    }],

    // the properties below are optional
    specId: 123,
  },
  properties: {
    propertiesKey: 'properties',
  },
  writeOrder: {
    fields: [{
      direction: 'direction',
      nullOrder: 'nullOrder',
      sourceId: 123,
      transform: 'transform',
    }],
    orderId: 123,
  },
};
```

## Properties

- `location`: string (required) — The location of the Iceberg table.

- `partitionSpec`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.IcebergPartitionSpecProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnTable.IcebergPartitionSpecProperty.html) — The partition spec for an Iceberg table.

- `properties`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — The properties for the Iceberg table.

- `schema`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.IcebergSchemaProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnTable.IcebergSchemaProperty.html) (required) — The schema for an Iceberg table.

- `writeOrder`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.IcebergSortOrderProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnTable.IcebergSortOrderProperty.html) — The sort order for an Iceberg table.
