StreamMode

class aws_cdk.aws_kinesis.StreamMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

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.