
Ministack, a free LocalStack alternative. v1.0.7 released
MiniStack is a free, MIT-licensed local AWS emulator — a drop-in replacement for LocalStack that runs 23 services on a single port with no account required. Today we're shipping v1.0.7. What's new Amazon Data Firehose MiniStack now emulates Amazon Data Firehose (all 12 API operations): import boto3 , base64 , json fh = boto3 . client ( " firehose " , endpoint_url = " http://localhost:4566 " , region_name = " us-east-1 " , aws_access_key_id = " test " , aws_secret_access_key = " test " ) # Create a delivery stream with S3 destination fh . create_delivery_stream ( DeliveryStreamName = " my-stream " , DeliveryStreamType = " DirectPut " , ExtendedS3DestinationConfiguration = { " BucketARN " : " arn:aws:s3:::my-bucket " , " RoleARN " : " arn:aws:iam::000000000000:role/firehose-role " , " BufferingHints " : { " SizeInMBs " : 1 , " IntervalInSeconds " : 60 }, " Prefix " : " events/ " , }, ) # Put records — S3 destination writes synchronously to the local S3 emulator fh . put_record ( Delivery
Continue reading on Dev.to Python
Opens in a new tab




