Bootstrap FreeKB - Amazon Web Services (AWS) - Create Kinesis Data Stream using the AWS CLI
Amazon Web Services (AWS) - Create Kinesis Data Stream using the AWS CLI


This assumes you have already configured the aws command line tool. If not, check out my article on Getting Started with the AWS CLI.

This also assumes you are familiar with Kinesis. If not, check out my article Getting Started with Kinesis.

The aws kinesis create-stream command can be used to create a Kinesis Data Stream.

aws kinesis create-stream --stream-name my-kinesis-data-stream --stream-mode-details '{"StreamMode":"ON_DEMAND"}'

 

And in a few moments, your Kinesis data stream should be active.

 

Likewise, the aws kinesis list-streams command should return your stream.

~]$ aws kinesis list-streams
{
    "StreamNames": [
        "my-kinesis-data-stream"
    ],
    "StreamSummaries": [
        {
            "StreamName": "my-kinesis-data-stream",
            "StreamARN": "arn:aws:kinesis:us-east-1:123456789012:stream/my-kinesis-data-stream",
            "StreamStatus": "ACTIVE",
            "StreamModeDetails": {
                "StreamMode": "ON_DEMAND"
            },
            "StreamCreationTimestamp": "2024-05-15T01:13:06+00:00"
        }
    ]
}

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 5eda7c in the box below so that we can be sure you are a human.