Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Data Streams
    • All guides
    • Managing data streams
      • Creating a data stream
      • Getting stream info
      • Sending data to a stream
      • Reading data from a stream
      • Deleting a stream
  • Access management
  • Pricing policy
  • FAQ
  1. Step-by-step guides
  2. Working with the AWS CLI
  3. Creating a data stream

Creating a stream in the AWS CLI

Written by
Yandex Cloud
Updated at July 15, 2025
View in Markdown
CLI

To create a stream, run this command:

aws kinesis create-stream \
  --endpoint <endpoint> \
  --stream-name <stream_ID> \
  --shard-count <number_of_shards>
  • --endpoint: Specify the https://yds.serverless.yandexcloud.net endpoint to create a stream that will receive data over the AWS Kinesis Data Streams protocol.

  • --stream-name: Consists of the availability zone, folder ID, Yandex Managed Service for YDB database ID, and stream name.

    For example, your stream ID will appear as /ru-central1/aoeu1kuk2dht********/cc8029jgtuab********/aws_stream if:

    • aws_stream: Stream name.
    • ru-central1: Region.
    • aoeu1kuk2dht********: Folder ID.
    • cc8029jgtuab********: YDB database ID.
  • --shard-count: Number of stream shards.

Note

Since you cannot specify the data stream rate in Amazon Kinesis, all data streams are created with a shard throughput of 1 MB/s and a retention period of 24 hours for compatibility purposes.

Command example:

aws kinesis create-stream \
  --endpoint https://yds.serverless.yandexcloud.net \
  --stream-name /ru-central1/aoeu1kuk2dht********/cc8029jgtuab********/aws_stream \
  --shard-count 1

Was the article helpful?

Previous
Managing data streams
Next
Getting stream info
© 2026 Direct Cursus Technology L.L.C.