# IcebergPartitionSpecProperty

Partition specification for an Iceberg table.

- Source: Generated code
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3tables as s3tables } from 'aws-cdk-lib';
const icebergPartitionSpecProperty: s3tables.CfnTable.IcebergPartitionSpecProperty = {
  fields: [{
    name: 'name',
    sourceId: 123,
    transform: 'transform',

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

  // the properties below are optional
  specId: 123,
};
```

## Properties

- `fields`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.IcebergPartitionFieldProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_s3tables.CfnTable.IcebergPartitionFieldProperty.html)[] (required) — List of partition fields for an Iceberg table.

- `specId`: number — The partition spec ID (defaults to 0 if not specified).
