StreamMode

class aws_cdk.aws_kinesis.StreamMode(value)

Bases: Enum

Specifies the capacity mode to apply to this stream.

Attributes

ON_DEMAND

Specify the on-demand capacity mode.

The stream will autoscale and be billed according to the volume of data ingested and retrieved.

PROVISIONED

Specify the provisioned capacity mode.

The stream will have shardCount shards unless modified and will be billed according to the provisioned capacity.