StreamModeDetailsProperty Struct
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 | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
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.