Amazon Kinesis · Arazzo Workflow
Amazon Kinesis Scale Stream Shard Count
Version 1.0.0
Resize a provisioned stream's shard count, wait for ACTIVE, then list shards.
Provider
Workflows
scale-stream-shard-count
Update shard count, poll until ACTIVE, then list the new shards.
Calls UpdateShardCount with UNIFORM_SCALING to the target count, polls DescribeStreamSummary while UPDATING, and once ACTIVE lists the shards to confirm the resize.
1
updateShardCount
UpdateShardCount
Initiate a uniform-scaling resize to the target shard count. The stream transitions to UPDATING.
2
pollStatus
DescribeStreamSummary
Poll the stream summary, looping while UPDATING and advancing once the stream is ACTIVE again.
3
listShards
ListShards
List the shards after the resize completes to confirm the new shard topology.