# StreamMode

Specifies the capacity mode to apply to this stream.

- Source: [`aws-kinesis/lib/stream.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-kinesis/lib/stream.ts#L1069)
- Type last changed: v2.4.0 · 6 Jan 2022

## Members

| Member | Description |
| --- | --- |
| `PROVISIONED` | Specify the provisioned capacity mode. |
| `ON_DEMAND` | Specify the on-demand capacity mode. |

## Referenced by

- [`StreamProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kinesis.StreamProps.html).streamMode
