# DynamicPartitioningProps

Props for defining dynamic partitioning.

- Source: [`aws-kinesisfirehose/lib/s3-bucket.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-kinesisfirehose/lib/s3-bucket.ts#L87)
- Type last changed: v2.239.0 · 19 Feb 2026

## Example

```ts
declare const bucket: s3.Bucket;
const s3Destination = new firehose.S3Bucket(bucket, {
  dynamicPartitioning: { enabled: true },
  processors: [
    firehose.RecordDeAggregationProcessor.delimited('####'),
  ],
});
```

## Properties

- `enabled`: boolean (required) — Whether to enable the dynamic partitioning.

  You cannot enable dynamic partitioning for an existing Firehose stream that does not have dynamic partitioning already enabled.

- `retryDuration`: [Duration](/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(300) — The total amount of time that Data Firehose spends on retries.

  Minimum: Duration.seconds(0)
  Maximum: Duration.seconds(7200)
