# IntegerPartitionProjectionConfigurationProps

Properties for INTEGER partition projection configuration.

- Source: [`aws-glue/lib/partition-projection.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-glue/lib/partition-projection.ts#L78)
- Type last changed: v2.270.0 · 17 Sep 2026

## Example

```ts
declare const myDatabase: glue.Database;
new glue.S3Table(this, 'MyTable', {
  database: myDatabase,
  columns: [{
    name: 'data',
    type: glue.Schema.STRING,
  }],
  partitionKeys: [{
    name: 'year',
    type: glue.Schema.INTEGER,
  }],
  dataFormat: glue.DataFormat.JSON,
  partitionProjection: {
    year: glue.PartitionProjectionConfiguration.integer({
      min: 2020,
      max: 2023,
      interval: 1,  // optional, defaults to 1
      digits: 4,    // optional, pads with leading zeros
    }),
  },
});
```

## Properties

- `digits`: number — Number of digits to pad the partition value with leading zeros.

  **Default:** no static number of digits and no leading zeroes

  With digits: 4, partition values: 0001, 0002, ..., 0100

- `interval`: number = 1 — Interval between partition values.

- `max`: number (required) — Maximum value for the integer partition range (inclusive).

- `min`: number (required) — Minimum value for the integer partition range (inclusive).
