# StreamModeDetailsProperty

Specifies the capacity mode to which you want to set your data stream.

Currently, in Kinesis Data Streams, you can choose between an *on-demand* capacity mode and a *provisioned* capacity mode for your data streams.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_kinesis as kinesis } from 'aws-cdk-lib';
const streamModeDetailsProperty: kinesis.CfnStream.StreamModeDetailsProperty = {
  streamMode: 'streamMode',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_kinesis as kinesis

stream_mode_details_property = kinesis.CfnStream.StreamModeDetailsProperty(
    stream_mode="streamMode"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesis.*;

StreamModeDetailsProperty streamModeDetailsProperty = StreamModeDetailsProperty.builder()
        .streamMode("streamMode")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Kinesis;

var streamModeDetailsProperty = new StreamModeDetailsProperty {
    StreamMode = "streamMode"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

streamModeDetailsProperty := &StreamModeDetailsProperty{
	StreamMode: jsii.String("streamMode"),
}
```

## Properties

- `streamMode`: string (required) — Specifies the capacity mode to which you want to set your data stream.

  Currently, in Kinesis Data Streams, you can choose between an *on-demand* capacity mode and a *provisioned* capacity mode for your data streams.
