Skip to content

Instantly share code, notes, and snippets.

View singhksandeep25's full-sized avatar

Sandeep Singh singhksandeep25

View GitHub Profile
@singhksandeep25
singhksandeep25 / kinesis_stream_creation.py
Last active February 13, 2021 21:10
Kinesis Stream Creation Example
import boto3
REGION = 'ap-south-1'
ACCESS_KEY_ID = 'access_key_id_of_your_account'
SECRET_ACCESS_KEY = 'secret_access_key_of_your_account'
kinesis_client = boto3.client('kinesis', region_name=REGION, aws_access_key_id=ACCESS_KEY_ID,
aws_secret_access_key=SECRET_ACCESS_KEY)
kinesis_client.create_stream(