ministack README

The project's README from github.com/ministackorg/ministack. As one markdown file: README.md.

MiniStack — Free Open-Source AWS Emulator

MiniStack

Free, open-source local AWS emulator. Free forever.

60+ AWS services on a single port · Multi-account & multi-region · Terraform compatible · Real databases · MIT licensed

GitHub release Build Docker Pulls Docker Image Size License Python

Ministack.org · Docker Hub · LinkedIn


Why MiniStack?

LocalStack recently moved its core services behind a paid plan. If you relied on LocalStack Community for local development and CI/CD pipelines, MiniStack is your free alternative.


Quick Start

# Option 1: PyPI (simplest)
pip install ministack
ministack
# Runs on http://localhost:4566 — use GATEWAY_PORT=XXXX to change

# Option 2: Docker Hub
docker run -p 4566:4566 ministackorg/ministack

# Option 2b: Docker Hub with real infrastructure (RDS, ECS, Lambda containers)
docker run -p 4566:4566 -v /var/run/docker.sock:/var/run/docker.sock ministackorg/ministack

# Option 2c: Full image — Debian/glibc base with DuckDB (Athena), psycopg2, pymysql.
# Larger (~360 MB vs ~110 MB) but enables Athena and native PostgreSQL/MySQL drivers
# that don't ship musllinux wheels. Reports `edition: full` on /_ministack/health.
docker run -p 4566:4566 ministackorg/ministack:full

# Option 3: Clone and build
git clone https://github.com/ministackorg/ministack
cd ministack
docker compose up -d

# Verify (any option)
curl http://localhost:4566/_ministack/health

That's it. No account, no API key, no sign-up.


Internal API

MiniStack exposes internal endpoints for test automation:

# Health check — returns service status
curl http://localhost:4566/_ministack/health

# Reset all state — wipe every service back to empty (useful between test runs)
curl -X POST http://localhost:4566/_ministack/reset

# Reset and re-run init scripts (boot.d + ready.d)
curl -X POST http://localhost:4566/_ministack/reset?init=1

# Runtime config — change service-level settings without restart
curl -X POST http://localhost:4566/_ministack/config \
  -H "Content-Type: application/json" \
  -d '{"lambda_svc.LAMBDA_EXECUTOR": "docker"}'

# Inspect emails sent via SES — returns every message grouped by account
curl http://localhost:4566/_ministack/ses/messages

# Filter by account (12-digit access-key ID used as the account ID)
curl "http://localhost:4566/_ministack/ses/messages?account=000000000000"

# Inspect SQS messages — returns every queue's messages grouped by account
# (includes Body, MessageId, ReceiveCount, VisibleAt, IsVisible, MessageAttributes, FIFO group/dedup)
curl http://localhost:4566/_ministack/sqs/messages

# Filter by account and/or a specific queue
curl "http://localhost:4566/_ministack/sqs/messages?account=000000000000&QueueUrl=http://localhost:4566/000000000000/my-queue"

# Inspect SMS sent via SNS Publish with a PhoneNumber — grouped by recipient
curl http://localhost:4566/_ministack/sns/sms-messages

# Filter by recipient, account and/or region
curl "http://localhost:4566/_ministack/sns/sms-messages?phoneNumber=%2B15551234567"

The reset endpoint is especially useful in CI pipelines and test suites — call it in setUp/beforeEach to get a clean environment for every test without restarting the container. Add ?init=1 to re-run your init scripts after the reset, restoring any resources they create (VPCs, queues, seed data, etc.).

The config endpoint supports these keys:

Key Description
lambda_svc.LAMBDA_EXECUTOR Lambda execution mode (local or docker)
athena.ATHENA_ENGINE Athena query engine (duckdb or mock)
athena.ATHENA_DATA_DIR Directory for Athena DuckDB data files
stepfunctions._sfn_mock_config SFN mock config (AWS SFN Local compatible)
stepfunctions._SFN_WAIT_SCALE Scale factor for Wait state durations and retry sleeps (0 = skip all waits)

To set region or account ID, use environment variables at startup:

docker run -p 4566:4566 \
  -e MINISTACK_REGION=eu-west-1 \
  -e MINISTACK_ACCOUNT_ID=123456789012 \
  ministackorg/ministack

Or use the multi-tenancy feature — a 12-digit access key automatically becomes the account ID (see Multi-Tenancy below).

Also compatible with LocalStack's health endpoint:

curl http://localhost:4566/_localstack/health
curl http://localhost:4566/health

Multi-Tenancy

MiniStack supports lightweight multi-tenancy without any configuration. If the AWS_ACCESS_KEY_ID is a 12-digit number, it is used as the Account ID for all ARN generation. Non-numeric keys (like test) fall back to the MINISTACK_ACCOUNT_ID env var or 000000000000.

# Team A — gets account 111111111111
export AWS_ACCESS_KEY_ID=111111111111
export AWS_SECRET_ACCESS_KEY=test
aws --endpoint-url=http://localhost:4566 sts get-caller-identity
# → { "Account": "111111111111", ... }

# Team B — gets account 222222222222
export AWS_ACCESS_KEY_ID=222222222222
export AWS_SECRET_ACCESS_KEY=test
aws --endpoint-url=http://localhost:4566 sts get-caller-identity
# → { "Account": "222222222222", ... }

All ARNs and resource state (SQS queues, Lambda functions, IAM roles, S3 buckets, DynamoDB tables, etc.) are fully isolated per account. Resources with the same name in different accounts never collide. This allows multiple developers or CI pipelines to share a single MiniStack endpoint with complete tenant isolation — no extra setup needed.

Since 1.4.0 state is additionally isolated per region — see Multi-Region below.

Access Key Account ID Used
111111111111 111111111111
048408301323 048408301323
test 000000000000 (default)
AKIA_TEST_KEY_DO_NOT_USE 000000000000 (default)

Terraform — set access_key in your provider block:

provider "aws" {
  access_key = "048408301323"
  secret_key = "test"
  region     = "us-east-1"
  endpoints { ... }
}

boto3 — pass aws_access_key_id:

boto3.client("s3",
    endpoint_url="http://localhost:4566",
    aws_access_key_id="048408301323",
    aws_secret_access_key="test",
)

Multi-Region

Since 1.4.0, state is isolated per region as well as per account — no configuration needed. The region comes from the SigV4 credential scope (the region_name your SDK or --region your CLI is configured with), so two clients pointed at different regions see fully independent resources, exactly like real AWS:

# Same queue name, two regions — two independent queues
aws --endpoint-url=http://localhost:4566 --region us-east-1 sqs create-queue --queue-name jobs
aws --endpoint-url=http://localhost:4566 --region eu-west-1 sqs create-queue --queue-name jobs

aws --endpoint-url=http://localhost:4566 --region us-east-1 sqs list-queues
# → .../000000000000/jobs   (the us-east-1 queue)
aws --endpoint-url=http://localhost:4566 --region eu-west-1 sqs list-queues
# → .../000000000000/jobs   (a different queue — eu-west-1's)
use1 = boto3.client("dynamodb", endpoint_url="http://localhost:4566",
                    aws_access_key_id="test", aws_secret_access_key="test",
                    region_name="us-east-1")
euw1 = boto3.client("dynamodb", endpoint_url="http://localhost:4566",
                    aws_access_key_id="test", aws_secret_access_key="test",
                    region_name="eu-west-1")

use1.create_table(TableName="users",
    KeySchema=[{"AttributeName": "id", "KeyType": "HASH"}],
    AttributeDefinitions=[{"AttributeName": "id", "AttributeType": "S"}],
    BillingMode="PAY_PER_REQUEST")

use1.list_tables()["TableNames"]   # → ["users"]
euw1.list_tables()["TableNames"]   # → [] — eu-west-1 is independent

Region-isolated services: as of 1.5.3, every regional service is region-isolated except S3 and Aurora DSQL (the isolation migrations rolled out service by service from 1.4.0 to 1.4.12 — see the CHANGELOG for the per-release history; services introduced later, like AWS Config and the Cloud Control API in 1.4.14, were born region-scoped).

Cross-resource references resolve in the referenced ARN's own account and region (SNS→SQS fanout, EventBridge targets, event source mappings), and cross-region references that real AWS rejects return the same errors AWS returns — e.g. invoking a eu-west-1 Lambda from a us-east-1 Step Functions task fails with Functions from 'eu-west-1' are not reachable in this region, exactly as on AWS.

Not yet region-isolated: S3 and Aurora DSQL — these share state across regions within an account (as all services did before 1.4.0); use unique resource names there if your tests exercise two regions, until their isolation lands in a subsequent release. IAM/STS, CloudFront, Route 53, and Organizations are global services on AWS, so their account-scoped shared state is correct, not a gap.

Upgrading with PERSIST_STATE=1: existing state files load and migrate automatically (on-disk format v2 with a version stamp — a newer-format file is refused instead of mis-parsed on downgrade). Each record's region is recovered from its stored ARNs; legacy records that carry no ARN migrate to the default region (MINISTACK_REGION).


Using with AWS CLI

# Option A — environment variables (no profile needed)
export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test
export AWS_DEFAULT_REGION=us-east-1

aws --endpoint-url=http://localhost:4566 s3 mb s3://my-bucket
aws --endpoint-url=http://localhost:4566 sqs create-queue --queue-name my-queue
aws --endpoint-url=http://localhost:4566 dynamodb list-tables
aws --endpoint-url=http://localhost:4566 sts get-caller-identity

# Option B — named profile (must pass --profile on every command)
aws configure --profile local
# AWS Access Key ID: test
# AWS Secret Access Key: test
# Default region: us-east-1
# Default output format: json

aws --profile local --endpoint-url=http://localhost:4566 s3 mb s3://my-bucket
aws --profile local --endpoint-url=http://localhost:4566 s3 cp ./file.txt s3://my-bucket/
aws --profile local --endpoint-url=http://localhost:4566 sqs create-queue --queue-name my-queue
aws --profile local --endpoint-url=http://localhost:4566 dynamodb list-tables
aws --profile local --endpoint-url=http://localhost:4566 sts get-caller-identity

awslocal wrapper

chmod +x bin/awslocal
./bin/awslocal s3 ls
./bin/awslocal dynamodb list-tables

Using with boto3

import boto3

# All clients use the same endpoint
def client(service):
    return boto3.client(
        service,
        endpoint_url="http://localhost:4566",
        aws_access_key_id="test",
        aws_secret_access_key="test",
        region_name="us-east-1",
    )

# S3
s3 = client("s3")
s3.create_bucket(Bucket="my-bucket")
s3.put_object(Bucket="my-bucket", Key="hello.txt", Body=b"Hello, MiniStack!")
obj = s3.get_object(Bucket="my-bucket", Key="hello.txt")
print(obj["Body"].read())  # b'Hello, MiniStack!'

# SQS
sqs = client("sqs")
q = sqs.create_queue(QueueName="my-queue")
sqs.send_message(QueueUrl=q["QueueUrl"], MessageBody="hello")
msgs = sqs.receive_message(QueueUrl=q["QueueUrl"])
print(msgs["Messages"][0]["Body"])  # hello

# DynamoDB
ddb = client("dynamodb")
ddb.create_table(
    TableName="Users",
    KeySchema=[{"AttributeName": "userId", "KeyType": "HASH"}],
    AttributeDefinitions=[{"AttributeName": "userId", "AttributeType": "S"}],
    BillingMode="PAY_PER_REQUEST",
)
ddb.put_item(TableName="Users", Item={"userId": {"S": "u1"}, "name": {"S": "Alice"}})

# SSM Parameter Store
ssm = client("ssm")
ssm.put_parameter(Name="/app/db/host", Value="localhost", Type="String")
param = ssm.get_parameter(Name="/app/db/host")
print(param["Parameter"]["Value"])  # localhost

# Secrets Manager
sm = client("secretsmanager")
sm.create_secret(Name="db-password", SecretString='{"password":"s3cr3t"}')

# Kinesis
kin = client("kinesis")
kin.create_stream(StreamName="events", ShardCount=1)
kin.put_record(StreamName="events", Data=b'{"event":"click"}', PartitionKey="user1")

# EventBridge
eb = client("events")
eb.put_events(Entries=[{
    "Source": "myapp",
    "DetailType": "UserSignup",
    "Detail": '{"userId": "123"}',
    "EventBusName": "default",
}])

# Step Functions
sfn = client("stepfunctions")
sfn.create_state_machine(
    name="my-workflow",
    definition='{"StartAt":"Hello","States":{"Hello":{"Type":"Pass","End":true}}}',
    roleArn="arn:aws:iam::000000000000:role/role",
)

# Step Functions — TestState API (test a single state in isolation)
# Note: inject_host_prefix=False prevents boto3 from prepending "sync-" to the hostname
from botocore.config import Config as BotoConfig
sfn_test = client("stepfunctions", config=BotoConfig(inject_host_prefix=False))

result = sfn_test.test_state(
    definition='{"Type":"Pass","Result":{"greeting":"hello"},"End":true}',
    input='{"name":"world"}',
)
print(result["status"])  # SUCCEEDED
print(result["output"])  # {"greeting": "hello"}

# TestState with mock — test error handling without calling real services
result = sfn_test.test_state(
    definition=json.dumps({
        "Type": "Task",
        "Resource": "arn:aws:lambda:us-east-1:000000000000:function:my-fn",
        "Catch": [{"ErrorEquals": ["States.ALL"], "Next": "Fallback"}],
        "End": True
    }),
    input='{}',
    inspectionLevel="DEBUG",
    mock={"errorOutput": {"error": "ServiceError", "cause": "Timeout"}},
)
print(result["status"])  # CAUGHT_ERROR
print(result["nextState"])  # Fallback

# EC2
ec2 = client("ec2")
reservation = ec2.run_instances(
    ImageId="ami-00000001",
    MinCount=1,
    MaxCount=1,
    InstanceType="t3.micro",
)
instance_id = reservation["Instances"][0]["InstanceId"]
print(instance_id)  # i-xxxxxxxxxxxxxxxxx

# Security Groups
sg = ec2.create_security_group(GroupName="my-sg", Description="My SG")
ec2.authorize_security_group_ingress(
    GroupId=sg["GroupId"],
    IpPermissions=[{"IpProtocol": "tcp", "FromPort": 80, "ToPort": 80,
                    "IpRanges": [{"CidrIp": "0.0.0.0/0"}]}],
)

# VPC / Subnet
vpc = ec2.create_vpc(CidrBlock="10.0.0.0/16")
subnet = ec2.create_subnet(
    VpcId=vpc["Vpc"]["VpcId"],
    CidrBlock="10.0.1.0/24",
    AvailabilityZone="us-east-1a",
)

Supported Services

Core Services

Service Operations Notes
S3 CreateBucket, DeleteBucket, ListBuckets, HeadBucket, PutObject, GetObject, DeleteObject, HeadObject, CopyObject, ListObjects v1/v2, DeleteObjects, GetBucketVersioning, PutBucketVersioning, GetBucketEncryption, PutBucketEncryption, DeleteBucketEncryption, GetBucketLifecycleConfiguration, PutBucketLifecycleConfiguration, DeleteBucketLifecycle, GetBucketCors, PutBucketCors, DeleteBucketCors, GetBucketAcl, PutBucketAcl, GetBucketTagging, PutBucketTagging, DeleteBucketTagging, GetBucketPolicy, PutBucketPolicy, DeleteBucketPolicy, GetBucketNotificationConfiguration, PutBucketNotificationConfiguration, GetBucketLogging, PutBucketLogging, ListObjectVersions, CreateMultipartUpload, UploadPart, CompleteMultipartUpload, AbortMultipartUpload, PutObjectLockConfiguration, GetObjectLockConfiguration, PutObjectRetention, GetObjectRetention, PutObjectLegalHold, GetObjectLegalHold, PutBucketReplication, GetBucketReplication, DeleteBucketReplication, GetObjectTagging, PutObjectTagging, DeleteObjectTagging, PutObjectAnnotation, GetObjectAnnotation, ListObjectAnnotations, DeleteObjectAnnotation, CreateMultiRegionAccessPoint, DeleteMultiRegionAccessPoint, PutMultiRegionAccessPointPolicy, DescribeMultiRegionAccessPointOperation, GetMultiRegionAccessPoint, GetMultiRegionAccessPointPolicy, ListMultiRegionAccessPoints, GetMultiRegionAccessPointRoutes, SubmitMultiRegionAccessPointRoutes, CreateAccessPoint, GetAccessPoint, ListAccessPoints, DeleteAccessPoint, PutAccessPointPolicy, GetAccessPointPolicy, DeleteAccessPointPolicy, CreateAccessPointForObjectLambda, GetAccessPointForObjectLambda, ListAccessPointsForObjectLambda, DeleteAccessPointForObjectLambda, GetAccessPointConfigurationForObjectLambda, PutAccessPointConfigurationForObjectLambda, PutAccessPointPolicyForObjectLambda, GetAccessPointPolicyForObjectLambda, DeleteAccessPointPolicyForObjectLambda, PutPublicAccessBlock, GetPublicAccessBlock, DeletePublicAccessBlock, WriteGetObjectResponse Optional disk persistence via S3_PERSIST=1; Object Lock with retention & legal hold enforcement on delete, and on annotation writes under AUTH=true (governance mode yields to x-amz-bypass-governance-retention); object annotations are per version (up to 1,000, 1 byte–1 MiB each), carried by CopyObject and removed with their version; object tags are versioned (?tagging&versionId=… reads, writes, and deletes the per-version tag set); requests signed for another region than the bucket's home get 301 PermanentRedirect with x-amz-bucket-region, and CreateBucket applies the location-constraint rules; Multi-Region Access Points are managed through S3 Control (create, delete, get, list, policy, routes) or CloudFormation (AWS::S3::MultiRegionAccessPoint), and <alias>.accesspoint.s3-global.amazonaws.com serves the active member homed in MINISTACK_REGION (traffic dials fail over) through the regular S3 path; S3 Access Points (S3 Control, ARN host and -s3alias alias, AWS::S3::AccessPoint) and S3 Object Lambda (S3 Control, GetObject/HeadObject/ListObjects transformations through a Lambda calling WriteGetObjectResponse, AWS::S3ObjectLambda::*)
SQS CreateQueue, DeleteQueue, ListQueues, GetQueueUrl, GetQueueAttributes, SetQueueAttributes, PurgeQueue, SendMessage, ReceiveMessage, DeleteMessage, ChangeMessageVisibility, ChangeMessageVisibilityBatch, SendMessageBatch, DeleteMessageBatch, TagQueue, UntagQueue, ListQueueTags, StartMessageMoveTask, ListMessageMoveTasks, CancelMessageMoveTask Both Query API and JSON protocol; FIFO queues with deduplication; DLQ support, with moved messages carrying DeadLetterQueueSourceArn; messages expire after MessageRetentionPeriod; the batch actions apply AWS's request-level validation (empty batch, more than ten entries, repeated or malformed entry ids) before any entry is processed
SNS CreateTopic, DeleteTopic, ListTopics, GetTopicAttributes, SetTopicAttributes, AddPermission, RemovePermission, Subscribe, Unsubscribe, ListSubscriptions, ListSubscriptionsByTopic, GetSubscriptionAttributes, SetSubscriptionAttributes, ConfirmSubscription, Publish, PublishBatch, TagResource, UntagResource, ListTagsForResource, CreatePlatformApplication, ListPlatformApplications, GetPlatformApplicationAttributes, SetPlatformApplicationAttributes, CreatePlatformEndpoint, GetEndpointAttributes, SetEndpointAttributes, DeleteEndpoint, DeletePlatformApplication SNS→SQS fanout delivery; SNS→Lambda fanout (asynchronous delivery, with the event's Sns record in AWS's Lambda shape); subscription filter policies on message attributes or, with FilterPolicyScope MessageBody, the message body (prefix, suffix, equals-ignore-case, wildcard, anything-but, numeric, cidr, exists); FIFO topics with 5-minute deduplication, sequence numbers, content-based deduplication, and subscription validation; mobile-push endpoint lifecycle with device-token dedup and Publish to platform-endpoint TargetArn
DynamoDB CreateTable, UpdateTable, DeleteTable, DescribeTable, ListTables, PutItem, GetItem, DeleteItem, UpdateItem, Query, Scan, BatchWriteItem, BatchGetItem, TransactWriteItems, TransactGetItems, DescribeTimeToLive, UpdateTimeToLive, DescribeContinuousBackups, UpdateContinuousBackups, DescribeEndpoints, TagResource, UntagResource, ListTagsOfResource, EnableKinesisStreamingDestination, DisableKinesisStreamingDestination, DescribeKinesisStreamingDestination, UpdateKinesisStreamingDestination TTL enforced via thread-safe background reaper (60s cadence); DynamoDB Streams — StreamSpecification emits INSERT/MODIFY/REMOVE records on every write that changes an item, respects StreamViewType; Query and Scan pages stop at 1 MB of data read; GSIs accept multi-attribute keys (up to four HASH and four RANGE attributes); Kinesis streaming destinations (aws_dynamodb_kinesis_streaming_destination) fan item mutations out into any Kinesis stream by ARN while the destination is ACTIVE; global tables (version 2019.11.21) through UpdateTable ReplicaUpdates: a replica is a copy of the table in the other region, and writes replicate between them
DynamoDB Streams ListStreams, DescribeStream, GetShardIterator, GetRecords Reads records emitted by the main DynamoDB service via boto3.client("dynamodbstreams") — single synthetic shard per stream; TRIM_HORIZON/LATEST/AT_SEQUENCE_NUMBER/AFTER_SEQUENCE_NUMBER iterator types; NEW_AND_OLD_IMAGES, NEW_IMAGE, OLD_IMAGE, KEYS_ONLY view types; opaque base64 iterator tokens that expire after 15 minutes; GetRecords pages stop at 1,000 records or 1 MB; a disabled stream, or the stream of a deleted table, stays readable for 24 hours as DISABLED
Lambda CreateFunction, DeleteFunction, GetFunction, GetFunctionConfiguration, ListFunctions, Invoke, UpdateFunctionCode, UpdateFunctionConfiguration, AddPermission, RemovePermission, GetPolicy, ListVersionsByFunction, PublishVersion, CreateAlias, GetAlias, UpdateAlias, DeleteAlias, ListAliases, TagResource, UntagResource, ListTags, CreateEventSourceMapping, DeleteEventSourceMapping, GetEventSourceMapping, ListEventSourceMappings, UpdateEventSourceMapping, CreateFunctionUrlConfig, GetFunctionUrlConfig, UpdateFunctionUrlConfig, DeleteFunctionUrlConfig, ListFunctionUrlConfigs, PutFunctionConcurrency, GetFunctionConcurrency, DeleteFunctionConcurrency, PutFunctionEventInvokeConfig, GetFunctionEventInvokeConfig, UpdateFunctionEventInvokeConfig, DeleteFunctionEventInvokeConfig, ListFunctionEventInvokeConfigs, PublishLayerVersion, GetLayerVersion, GetLayerVersionByArn, ListLayerVersions, DeleteLayerVersion, ListLayers, AddLayerVersionPermission, RemoveLayerVersionPermission, GetLayerVersionPolicy, CheckpointDurableExecution, GetDurableExecution, GetDurableExecutionState, GetDurableExecutionHistory, ListDurableExecutionsByFunction, StopDurableExecution, SendDurableExecutionCallbackSuccess, SendDurableExecutionCallbackFailure, SendDurableExecutionCallbackHeartbeat Python and Node.js runtimes execute with warm worker pool; provided.al2023/provided.al2 runtimes reuse local bootstrap processes via the Lambda Runtime API (Go, Rust, C++ support), or use Docker RIE when configured; Publish=True creates immutable numbered versions; Code via ZipFile, S3Bucket/S3Key (with optional S3ObjectVersion), or ImageUri (Docker image); PackageType: Image pulls and invokes user-provided Docker images via Lambda RIE; SQS, Kinesis, and DynamoDB Streams event source mappings; Function URL CRUD; Lambda Layers CRUD; Aliases; Concurrency; EventInvokeConfig; SnapStart — SnapStart.ApplyOn=PublishedVersions round-trips on CreateFunction/UpdateFunctionConfiguration (Java 11+/Python 3.12+/.NET 8+ and container images, per AWS's constraints); publishing a version initializes its execution environment then and there, so the version reports OptimizationStatus: On, walks Pending → Active, answers ResourceConflictException while Pending, fails the publish on a broken init, and runs snapshot-restore-py before-snapshot/after-restore hooks during init (Python); Durable Functions — CreateFunction accepts DurableConfig; checkpoint/state/history/list/stop ops at the preview API (2025-12-01); external SendCallback{Success,Failure,Heartbeat} resume the SDK across invocations; resume scheduler fires WAIT expiries, callback timeouts, and step-retry backoffs; verified against the official aws-durable-execution-sdk-python and aws-durable-execution-sdk-java; X-Ray active tracing — TracingConfig.Mode=Active injects _X_AMZN_TRACE_ID (Root=1-<hex>-<hex>;Parent=<hex>;Sampled=1) into the runtime per invocation so the AWS X-Ray SDK runs without Missing AWS Lambda trace data; supported on the warm Python / Node executor, provided runtimes, and the local subprocess fallback (docker RIE upstream does not implement X-Ray and is logged but unsupported)
IAM CreateUser, GetUser, ListUsers, DeleteUser, CreateRole, GetRole, ListRoles, DeleteRole, UpdateRoleDescription, PutRolePermissionsBoundary, DeleteRolePermissionsBoundary, PutUserPermissionsBoundary, DeleteUserPermissionsBoundary, CreatePolicy, GetPolicy, DeletePolicy, AttachRolePolicy, DetachRolePolicy, PutRolePolicy, GetRolePolicy, DeleteRolePolicy, ListRolePolicies, ListAttachedRolePolicies, CreateAccessKey, ListAccessKeys, DeleteAccessKey, UpdateAccessKey, GetAccessKeyLastUsed, CreateInstanceProfile, GetInstanceProfile, DeleteInstanceProfile, AddRoleToInstanceProfile, RemoveRoleFromInstanceProfile, ListInstanceProfiles, TagInstanceProfile, UntagInstanceProfile, ListInstanceProfileTags, CreateGroup, GetGroup, AddUserToGroup, RemoveUserFromGroup, AttachGroupPolicy, DetachGroupPolicy, ListAttachedGroupPolicies, PutGroupPolicy, GetGroupPolicy, DeleteGroupPolicy, ListGroupPolicies, CreateServiceLinkedRole, DeleteServiceLinkedRole, GetServiceLinkedRoleDeletionStatus, CreateOpenIDConnectProvider, ListOpenIDConnectProviders, CreateSAMLProvider, GetSAMLProvider, ListSAMLProviders, UpdateSAMLProvider, DeleteSAMLProvider, CreateLoginProfile, GetLoginProfile, UpdateLoginProfile, DeleteLoginProfile, CreateVirtualMFADevice, EnableMFADevice, DeactivateMFADevice, ResyncMFADevice, ListMFADevices, ListVirtualMFADevices, DeleteVirtualMFADevice, GetAccountAuthorizationDetails, GenerateServiceLastAccessedDetails, GetServiceLastAccessedDetails, TagRole, UntagRole, TagUser, UntagUser, TagPolicy, UntagPolicy, GenerateCredentialReport, GetCredentialReport, GetAccountSummary, GetAccountPasswordPolicy, UpdateAccountPasswordPolicy, DeleteAccountPasswordPolicy, ListAccountAliases, CreateAccountAlias, DeleteAccountAlias, CreateServiceSpecificCredential, ListServiceSpecificCredentials, UpdateServiceSpecificCredential, ResetServiceSpecificCredential, DeleteServiceSpecificCredential, UploadServerCertificate, ListServerCertificates, GetServerCertificate, UpdateServerCertificate, DeleteServerCertificate, ListServerCertificateTags Role descriptions and permissions boundaries round-trip through role and user reads; boundaries support put/delete updates and limit permissions under AUTH=true.
STS GetCallerIdentity, AssumeRole, GetSessionToken, GetFederationToken, AssumeRoleWithWebIdentity
IMDS (EC2 Instance Metadata) PUT /latest/api/token, GET /latest/meta-data/instance-id, GET /latest/meta-data/iam/security-credentials/, GET /latest/meta-data/iam/security-credentials/<role>, GET /latest/meta-data/iam/info, GET /latest/meta-data/placement/{region,availability-zone,...}, GET /latest/dynamic/instance-identity/document IMDSv1 + IMDSv2; default credential chain falls through to a ministack-instance-role document with ASIA* session creds. Point SDKs at ministack via AWS_EC2_METADATA_SERVICE_ENDPOINT=http://localhost:4566 (or ec2_metadata_service_endpoint in ~/.aws/config); set MINISTACK_IMDS_V2_REQUIRED=1 to require the token PUT
ECS Task Metadata V4 GET /v4/<token>, GET /v4/<token>/task, GET /v4/<token>/stats, GET /v4/<token>/task/stats Per-container token injected as ECS_CONTAINER_METADATA_URI_V4 on every container started by RunTask. /task returns sibling containers in the same task. Containers reach the gateway via host.docker.internal (mapped through extra_hosts: host-gateway, so it works on user-defined Docker networks); networkMode: host containers use loopback. Volatile by design (stripped on persistence, cleared by /_ministack/reset)
ECS Container Credentials GET /v2/credentials/<uuid> The path real ECS exposes via AWS_CONTAINER_CREDENTIALS_RELATIVE_URI=/v2/credentials/<uuid> (resolved by SDKs against 169.254.170.2). MiniStack serves the same path on the gateway and returns the AWS-strict 5-field credentials document (AccessKeyId, SecretAccessKey, Token, Expiration, RoleArn) — distinct from the IMDS shape served at /latest/meta-data/iam/security-credentials/<role>. RunTask injects AWS_CONTAINER_CREDENTIALS_FULL_URI, AWS_CONTAINER_AUTHORIZATION_TOKEN (satisfies botocore's allow-list for non-loopback gateway hosts), and AWS_ENDPOINT_URL so unmodified SDKs inside the task fetch credentials and route service calls through MiniStack with no client config
SecretsManager CreateSecret, GetSecretValue, ListSecrets, DeleteSecret, UpdateSecret, DescribeSecret, PutSecretValue, UpdateSecretVersionStage, RestoreSecret, RotateSecret, CancelRotateSecret, GetRandomPassword, ListSecretVersionIds, ReplicateSecretToRegions, RemoveRegionsFromReplication, StopReplicationToReplica, TagResource, UntagResource, PutResourcePolicy, GetResourcePolicy, DeleteResourcePolicy, ValidateResourcePolicy
CloudWatch Logs CreateLogGroup, DeleteLogGroup, DescribeLogGroups, CreateLogStream, DeleteLogStream, DescribeLogStreams, PutLogEvents, GetLogEvents, FilterLogEvents, GetLogRecord, GetLogGroupFields, StartLiveTail, PutRetentionPolicy, DeleteRetentionPolicy, PutSubscriptionFilter, DeleteSubscriptionFilter, DescribeSubscriptionFilters, PutMetricFilter, DeleteMetricFilter, DescribeMetricFilters, TagLogGroup, UntagLogGroup, ListTagsLogGroup, TagResource, UntagResource, ListTagsForResource, StartQuery, GetQueryResults, StopQuery, PutDestination, DeleteDestination, DescribeDestinations, PutDestinationPolicy, PutDeliverySource, GetDeliverySource, DeleteDeliverySource, DescribeDeliverySources, PutDeliveryDestination, GetDeliveryDestination, DeleteDeliveryDestination, DescribeDeliveryDestinations, PutDeliveryDestinationPolicy, GetDeliveryDestinationPolicy, DeleteDeliveryDestinationPolicy, CreateDelivery, GetDelivery, DeleteDelivery, DescribeDeliveries, PutResourcePolicy, DescribeResourcePolicies, DeleteResourcePolicy FilterLogEvents supports */? globs, multi-term AND, -term exclusion; GetLogRecord resolves Insights @ptr values issued at PutLogEvents; GetLogGroupFields scans recent stored events (optional time ±8m, else last 15m) and returns field names with rough presence percent, including system @* fields and flattened JSON message keys; Insights CWLI subset: fields, chained `

Extended Services

Service Operations Notes
SSM Parameter Store PutParameter, GetParameter, GetParameters, GetParametersByPath, DeleteParameter, DeleteParameters, DescribeParameters, GetParameterHistory, LabelParameterVersion, AddTagsToResource, RemoveTagsFromResource, ListTagsForResource, GetServiceSetting, UpdateServiceSetting, ResetServiceSetting, CreateDocument, DescribeDocument, GetDocument, ListDocuments, DeleteDocument, StartAutomationExecution, GetAutomationExecution, DescribeAutomationExecutions, StopAutomationExecution Supports String, SecureString, StringList; name:version and name:label selectors on GetParameter / GetParameters; /aws/reference/secretsmanager/<secret-id> resolves the secret (WithDecryption true); automation executions run aws:sleep, aws:executeAwsApi (Service ssm) and aws:runCommand for real, other step actions fail honestly
EventBridge CreateEventBus, UpdateEventBus, DeleteEventBus, ListEventBuses, DescribeEventBus, PutRule, DeleteRule, ListRules, DescribeRule, EnableRule, DisableRule, PutTargets, RemoveTargets, ListTargetsByRule, ListRuleNamesByTarget, PutEvents, TestEventPattern, TagResource, UntagResource, ListTagsForResource, CreateArchive, DeleteArchive, DescribeArchive, UpdateArchive, ListArchives, PutPermission, RemovePermission, CreateConnection, DescribeConnection, DeleteConnection, UpdateConnection, DeauthorizeConnection, ListConnections, CreateApiDestination, DescribeApiDestination, DeleteApiDestination, UpdateApiDestination, ListApiDestinations, StartReplay, DescribeReplay, ListReplays, CancelReplay, CreateEndpoint, DeleteEndpoint, DescribeEndpoint, ListEndpoints, UpdateEndpoint, ActivateEventSource, DeactivateEventSource, DescribeEventSource, CreatePartnerEventSource, DeletePartnerEventSource, DescribePartnerEventSource, ListPartnerEventSources, ListPartnerEventSourceAccounts, ListEventSources, PutPartnerEvents Lambda target dispatch on PutEvents; a CloudWatch Logs log group target gets each matched event as one line in a new log stream (under AUTH=true only when an account or log group resource policy lets events.amazonaws.com write); S3 EventBridge notifications; archives capture matching events and StartReplay re-dispatches them to the destination bus in a background thread; API destination targets are invoked over HTTP on PutEvents — connection auth (Basic, API Key, OAuth client-credentials with token caching and 401/407 refresh), connection/target header/query/body parameter merging with connection precedence, * path parameters, dynamic JSON-path parameter values resolved from the untransformed event, and the AWS default headers (User-Agent: Amazon/EventBridge/ApiDestinations, default Content-Type: application/json; charset=utf-8), which connection and target parameters cannot override; redirects are not followed (a 3xx is a non-retryable delivery failure), only http(s) invocation and OAuth authorization endpoints are accepted, HttpMethod and AuthorizationType are validated against their enums, and a connection that is not AUTHORIZED is not invoked (DeauthorizeConnection clears its stored credentials) — the 24h retry pipeline, rate limiting, and DLQs are not modeled; SaaS/partner APIs are otherwise control-plane stubs. Event patterns are validated — PutRule, TestEventPattern, CreateArchive and UpdateArchive reject a malformed pattern with InvalidEventPatternException carrying AWS's own reason text — and evaluate prefix/suffix (plain or case-insensitive via a nested equals-ignore-case), wildcard (AWS semantics — only * is special, \ escapes — with catastrophic backtracking ruled out), equals-ignore-case (AWS's per-character case alternation), exactly, cidr (IPv4/IPv6, host bits floored, /32 and /128 refused as AWS refuses them), numeric (as the grammar it is: one comparison or a lower-then-upper bound), exists (leaf nodes only, so an object or an empty array does not exist), anything-but (a literal, a list, or a nested prefix/suffix/wildcard/equals-ignore-case, singly or as a list), and $or at any field position — expanded into flat alternatives at rule creation, so AWS's per-leaf last-write-wins collision rule and its 1000-combination cap both hold. All ten envelope fields are filterable, an unmodelled key is a path the event lacks rather than an error, resources is an intersection, array values are matched per element (with AWS's array-consistency rule), and values compare as JSON so a string never equals a number. An operand or key the matcher cannot evaluate never matches, rather than raising or matching everything. Not modeled: the 4096-character pattern limit, the wildcard-complexity refusal, and the 256-leaf rule-size cap
Kinesis CreateStream, DeleteStream, DescribeStream, DescribeStreamSummary, ListStreams, ListShards, PutRecord, PutRecords, GetShardIterator, GetRecords, IncreaseStreamRetentionPeriod, DecreaseStreamRetentionPeriod, MergeShards, SplitShard, UpdateShardCount, StartStreamEncryption, StopStreamEncryption, EnableEnhancedMonitoring, DisableEnhancedMonitoring, RegisterStreamConsumer, DeregisterStreamConsumer, ListStreamConsumers, DescribeStreamConsumer, SubscribeToShard, AddTagsToStream, RemoveTagsFromStream, ListTagsForStream, PutResourcePolicy, GetResourcePolicy, DeleteResourcePolicy Partition key → shard routing; AWS limits enforced (1 MB/record, 500 records/batch, 5 MB payload, 256-char partition key); SubscribeToShard pushes SubscribeToShardEvents over HTTP/1.1 or HTTP/2 (h2c) for up to 5 minutes, JSON or CBOR
CloudWatch Metrics PutMetricData, GetMetricStatistics, GetMetricData, ListMetrics, PutMetricAlarm, PutCompositeAlarm, DescribeAlarms, DescribeAlarmsForMetric, DescribeAlarmHistory, DeleteAlarms, SetAlarmState, EnableAlarmActions, DisableAlarmActions, TagResource, UntagResource, ListTagsForResource, PutDashboard, GetDashboard, DeleteDashboards, ListDashboards CBOR and JSON protocol
SES SendEmail, SendRawEmail, SendTemplatedEmail, SendBulkTemplatedEmail, VerifyEmailIdentity, VerifyEmailAddress, VerifyDomainIdentity, VerifyDomainDkim, ListIdentities, ListVerifiedEmailAddresses, GetIdentityVerificationAttributes, GetIdentityDkimAttributes, DeleteIdentity, GetSendQuota, GetSendStatistics, SetIdentityNotificationTopic, SetIdentityFeedbackForwardingEnabled, CreateConfigurationSet, DeleteConfigurationSet, DescribeConfigurationSet, ListConfigurationSets, CreateTemplate, GetTemplate, UpdateTemplate, DeleteTemplate, ListTemplates, CreateReceiptRuleSet, DescribeReceiptRuleSet, ListReceiptRuleSets, DeleteReceiptRuleSet, SetActiveReceiptRuleSet, DescribeActiveReceiptRuleSet, CreateReceiptRule, DescribeReceiptRule, DeleteReceiptRule Emails stored in-memory, not sent; the sender must be a verified identity (MessageRejected otherwise), and a sandboxed account sends only to verified or @simulator.amazonses.com recipients; receipt rule sets and ordered rules, with every action type, are stored and persisted; inbound email receiving is not emulated; a send publishes a Delivery, Bounce or Complaint notification per recipient to the identity's SetIdentityNotificationTopic SNS topic, following the mailbox simulator; a send also publishes its sending events to the EventBridge event destination of its configuration set (see SES v2)
SES v2 SendEmail, CreateEmailIdentity, GetEmailIdentity, DeleteEmailIdentity, PutEmailIdentityConfigurationSetAttributes, ListEmailIdentities, CreateConfigurationSet, GetConfigurationSet, DeleteConfigurationSet, ListConfigurationSets, PutConfigurationSetTrackingOptions, PutConfigurationSetDeliveryOptions, PutConfigurationSetReputationOptions, PutConfigurationSetSendingOptions, PutConfigurationSetSuppressionOptions, PutConfigurationSetVdmOptions, PutConfigurationSetArchivingOptions, CreateConfigurationSetEventDestination, GetConfigurationSetEventDestinations, UpdateConfigurationSetEventDestination, DeleteConfigurationSetEventDestination, CreateEmailTemplate, GetEmailTemplate, UpdateEmailTemplate, DeleteEmailTemplate, ListEmailTemplates, GetAccount, PutAccountDetails, PutAccountSuppressionAttributes, ListSuppressedDestinations, TagResource, UntagResource, ListTagsForResource, CreateTenant, GetTenant, ListTenants, DeleteTenant, CreateTenantResourceAssociation, DeleteTenantResourceAssociation, ListTenantResources, ListResourceTenants, PutTenantSuppressionAttributes, CreateDedicatedIpPool, GetDedicatedIpPool, ListDedicatedIpPools, DeleteDedicatedIpPool REST API (/v2/email/); identities auto-verified; emails stored in-memory, not sent; PutAccountDetails with ProductionAccessEnabled=false puts the account in the sandbox; email templates share the v1 store, so SendEmail with Content.Template renders a template created through either API version; a configuration set, identity or template associated with a tenant cannot be deleted until the association is removed; dedicated IP pools are records only, with no IP addresses behind them; every send, v1 or v2, uses the configuration set named on it or else the sending identity's default, and publishes aws.ses events to that set's enabled EventBridge event destinations: "Email Sent", then each recipient's "Email Delivered", "Email Bounced" or "Email Complaint Received" as the mailbox simulator produced them on AWS (any other recipient is delivered), inside the send call; the other destination types and the Open, Click, Reject, Delivery Delay, Rendering Failure and Subscription events are stored but never fire
ACM RequestCertificate, DescribeCertificate, ListCertificates, DeleteCertificate, GetCertificate, ImportCertificate, AddTagsToCertificate, RemoveTagsFromCertificate, ListTagsForCertificate, UpdateCertificateOptions, RenewCertificate, ResendValidationEmail Certificates auto-issued; DNS validation records generated; supports SANs; an imported certificate reports the CN, DNS SANs and validity dates it carries
Backup CreateBackupVault, DescribeBackupVault, DeleteBackupVault, ListBackupVaults, CreateBackupPlan, GetBackupPlan, UpdateBackupPlan, DeleteBackupPlan, ListBackupPlans, ListBackupPlanVersions, CreateBackupSelection, GetBackupSelection, DeleteBackupSelection, ListBackupSelections, StartBackupJob, StopBackupJob, DescribeBackupJob, ListBackupJobs, TagResource, UntagResource, ListTags In-memory; jobs complete immediately; vaults and plans participate in Resource Groups Tagging API
Bedrock 66 operations — foundation-model catalog (real model IDs), inference profiles (system + application-managed), guardrails with versioning, custom models, imported models, provisioned model throughput, model customization / import / copy / batch-invocation job families, tagging All 66 operations verified against botocore bedrock-2023-04-20; camelCase wire format per locationName; account- and region-scoped state
Bedrock Runtime Converse, ConverseStream, InvokeModel, InvokeModelWithResponseStream, ApplyGuardrail, StartAsyncInvoke, GetAsyncInvoke, ListAsyncInvokes Real eventstream wire format on streaming operations; guardrails enforce their deterministic policies — word policy, sensitive-information regexes, and the pattern-matchable PII types with BLOCK/ANONYMIZE per input/output stage — on ApplyGuardrail and on Converse/ConverseStream via guardrailConfig (GUARDRAIL_INTERVENED, blocked messaging, per-policy assessments, ResourceNotFoundException for an unknown id); the model-graded policies (topic, content, contextual grounding, PROFANITY) are not evaluated; deterministic family-aware mock responses selected by model ID prefix (anthropic.*, amazon.titan*, amazon.nova*, meta.llama*, mistral.*, cohere.*, ai21.*); verified against botocore bedrock-runtime-2023-09-30
Bedrock Agent 72 operations — agents (versions, aliases, action groups, collaborators, agent knowledge bases, PrepareAgent), knowledge bases (data sources, ingestion jobs — StartIngestionJob reads the S3 data source and reports real statistics, FAILED with failureReasons when the source is unreadable — documents), flows (aliases, versions, ValidateFlowDefinition, PrepareFlow), prompts with versions, tagging All 72 operations verified against botocore bedrock-agent-2023-06-05
Bedrock Agent Runtime InvokeAgent, InvokeInlineAgent, GetAgentMemory, DeleteAgentMemory, Retrieve, RetrieveAndGenerate, RetrieveAndGenerateStream, Rerank, CreateSession, GetSession, UpdateSession, DeleteSession, EndSession, ListSessions, CreateInvocation, ListInvocations, PutInvocationStep, GetInvocationStep, ListInvocationSteps, InvokeFlow, StartFlowExecution, StopFlowExecution, GetFlowExecution, ListFlowExecutions, ListFlowExecutionEvents, GetExecutionFlowSnapshot, OptimizePrompt All 31 operations verified against botocore bedrock-agent-runtime-2023-07-26; eventstream responses on streaming operations; Retrieve searches the documents Knowledge Base ingestion stored (lexical scoring — no embeddings) and returns content, s3Location and score; InvokeAgent answers a canned reply without orchestration and emits no trace events — it never fabricates an ORCHESTRATE trace
Bedrock AgentCore Control plane (bedrock-agentcore-control): CreateAgentRuntime, GetAgentRuntime, ListAgentRuntimes, UpdateAgentRuntime, DeleteAgentRuntime, ListAgentRuntimeVersions, CreateAgentRuntimeEndpoint, GetAgentRuntimeEndpoint, ListAgentRuntimeEndpoints, UpdateAgentRuntimeEndpoint, DeleteAgentRuntimeEndpoint, CreateMemory, GetMemory, ListMemories, UpdateMemory, DeleteMemory, PutResourcePolicy, GetResourcePolicy, DeleteResourcePolicy. Data plane (bedrock-agentcore): InvokeAgentRuntime, CreateEvent, GetEvent, ListEvents, DeleteEvent, ListActors, ListSessions, BatchCreateMemoryRecords, BatchUpdateMemoryRecords, BatchDeleteMemoryRecords, GetMemoryRecord, ListMemoryRecords, DeleteMemoryRecord, RetrieveMemoryRecords, StartMemoryExtractionJob, ListMemoryExtractionJobs Agent-runtime lifecycle with CREATING/UPDATING→READY transitions, versioned ARNs (agent/{uuid}:{version}, agentEndpoint/{uuid}); request/response shapes verified against botocore bedrock-agentcore-control / bedrock-agentcore; account- and region-scoped state; Memory resources record their strategies, but no extraction runs; resource policies are evaluated for runtime and endpoint invocation when AUTH=true; InvokeAgentRuntime runs the runtime's containerUri image in Docker (full image), waits for /ping and forwards to /invocations on port 8080, with container errors as RuntimeClientError (424); without Docker (slim image) or for a code artifact it answers a deterministic echo
Transcribe StartTranscriptionJob, GetTranscriptionJob, ListTranscriptionJobs, DeleteTranscriptionJob Batch transcription jobs only; streaming is a separate endpoint (transcribestreaming). All four operations verified against botocore transcribe-2017-10-26. A job starts IN_PROGRESS with StartTime set, as on AWS, and reaches COMPLETED over two seconds; QUEUED, which AWS reaches only for a request that opted into job queueing (JobExecutionSettings.AllowDeferredExecution) while the account is at its concurrent job limit, is not modelled; the media object is read from MiniStack S3 via an s3://, path-style or virtual-hosted HTTPS URI, and an unreadable URI fails the job with a FailureReason rather than erroring at Start, as on AWS; the transcript is written back to S3 in the real result format (results.transcripts, word-level results.items, results.audio_segments, plus results.segments and results.speaker_labels when the matching Settings are set) at OutputBucketName/OutputKey, or to an auto-created ministack-transcribe-output bucket. IdentifyLanguage and IdentifyMultipleLanguages resolve a language on completion, ContentRedaction controls whether a redacted- copy replaces or accompanies the transcript, and Subtitles writes WebVTT and SubRip files, redacted alongside the transcript when redaction is on. Reaching a terminal state publishes a Transcribe Job State Change event, so EventBridge rules downstream of a job fire. There is no speech recognition, so the transcript is deterministic canned text keyed on a digest of the media URI
Translate StartTextTranslationJob, DescribeTextTranslationJob, ListTextTranslationJobs, StopTextTranslationJob Batch text translation jobs only; the synchronous TranslateText / TranslateDocument pair and the custom terminology / parallel data families are not implemented. All four operations verified against botocore translate-2017-07-01. Jobs walk SUBMITTED → IN_PROGRESS → COMPLETED over TRANSLATE_JOB_RUN_SECONDS (default 2, 0 completes immediately); every document under InputDataConfig.S3Uri is read from MiniStack S3 and written back to the rewritten output location AWS uses — OutputDataConfig.S3Uri is reported as s3://<bucket>/<prefix><account-id>-TranslateText-<JobId>/ — as <target-code>.<input name>, with a details/<code>.auxiliary-translation-details.json summary per target language. text/plain is translated line by line, text/html keeps its markup and translates only text nodes, application/x-xliff+xml gets a populated <target> in every <trans-unit> plus target-language on every <file>, and the three Office ZIP types are copied through. A document that can't be read as its content type is counted in JobDetails and the job ends COMPLETED_WITH_ERROR; an empty or unreadable input location fails the job with a Message rather than erroring at Start. ClientToken is idempotent, StopTextTranslationJob reaches a running worker, and reaching a terminal state publishes a Translate TextTranslationJob State Change event, so EventBridge rules downstream of a job fire. There is no machine translation, so the output is deterministic canned text derived from the source
MSK CreateCluster, ListClusters, DescribeCluster, DeleteCluster, GetBootstrapBrokers, ListNodes, CreateConfiguration, ListConfigurations, DescribeConfiguration, ListConfigurationRevisions, DescribeConfigurationRevision, BatchAssociateScramSecret, BatchDisassociateScramSecret, ListScramSecrets, TagResource, UntagResource, ListTagsForResource Kafka control plane; GetBootstrapBrokers honors MINISTACK_MSK_BOOTSTRAP so clients route to a real broker you bring (Redpanda, Kafka, KRaft) — the Kafka wire protocol itself is not emulated
WAF v2 CreateWebACL, GetWebACL, UpdateWebACL, DeleteWebACL, ListWebACLs, AssociateWebACL, DisassociateWebACL, GetWebACLForResource, ListResourcesForWebACL, CreateIPSet, GetIPSet, UpdateIPSet, DeleteIPSet, ListIPSets, CreateRegexPatternSet, GetRegexPatternSet, UpdateRegexPatternSet, DeleteRegexPatternSet, ListRegexPatternSets, CreateRuleGroup, GetRuleGroup, UpdateRuleGroup, DeleteRuleGroup, ListRuleGroups, TagResource, UntagResource, ListTagsForResource, CheckCapacity, DescribeManagedRuleGroup LockToken enforced on Update/Delete; resource associations tracked; a distribution's web ACL decides each CloudFront viewer request, and rules MiniStack cannot decide (managed rules other than the Core rule set SizeRestrictions_* and NoUserAgent_HEADER and PROPFIND_METHOD, geo, ASN, SQLi, XSS) never match and are logged
Step Functions CreateStateMachine, DeleteStateMachine, DescribeStateMachine, UpdateStateMachine, ListStateMachines, StartExecution, StartSyncExecution, StopExecution, DescribeExecution, DescribeStateMachineForExecution, ListExecutions, GetExecutionHistory, SendTaskSuccess, SendTaskFailure, SendTaskHeartbeat, CreateActivity, DeleteActivity, DescribeActivity, ListActivities, GetActivityTask, TestState, TagResource, UntagResource, ListTagsForResource Full ASL interpreter; Retry/Catch; waitForTaskToken; Activities (worker pattern); Pass/Task/Choice/Wait/Succeed/Fail/Map/Parallel; TestState API with mock and inspectionLevel support; SFN_MOCK_CONFIG for AWS SFN Local compatible mock testing; intrinsic functions (States.StringToJson, States.JsonToString, States.JsonMerge, States.Format); nested startExecution.sync; HTTP Task (http:invoke) through an EventBridge connection
API Gateway v2 CreateApi, GetApi, GetApis, UpdateApi, DeleteApi, CreateRoute, GetRoute, GetRoutes, UpdateRoute, DeleteRoute, CreateIntegration, GetIntegration, GetIntegrations, UpdateIntegration, DeleteIntegration, CreateRouteResponse, GetRouteResponse, GetRouteResponses, UpdateRouteResponse, DeleteRouteResponse, CreateIntegrationResponse, GetIntegrationResponse, GetIntegrationResponses, UpdateIntegrationResponse, DeleteIntegrationResponse, CreateStage, GetStage, GetStages, UpdateStage, DeleteStage, CreateDeployment, GetDeployment, GetDeployments, DeleteDeployment, CreateAuthorizer, GetAuthorizer, GetAuthorizers, UpdateAuthorizer, DeleteAuthorizer, CreateDomainName, GetDomainName, GetDomainNames, UpdateDomainName, DeleteDomainName, CreateApiMapping, GetApiMapping, GetApiMappings, UpdateApiMapping, DeleteApiMapping, TagResource, UntagResource, GetTags, PostToConnection, GetConnection, DeleteConnection HTTP API and WebSocket API (protocolType=WEBSOCKET); Lambda proxy (AWS_PROXY), HTTP proxy (HTTP_PROXY), and MOCK integrations; HTTP data plane via {apiId}.execute-api.localhost Host header or path-based /_aws/execute-api/{apiId}/{stage}/{path} (no DNS/Host override needed — works from browsers on macOS and strict clients); $default stage served from the URL root (no stage segment in the path); per-API corsConfiguration applied to preflights + dispatched responses; request parameter mapping for HTTP_PROXY (append/overwrite/remove for headers/querystring plus overwrite:path) with context variables including $context.authorizer.jwt.claims; JWT data-plane authorization for HTTP routes (issuer/audience/time/scope checks) and claim propagation to integrations; qualified-alias integration URIs (arn:...:function:<name>:<alias>) resolve to the alias's target version; WebSocket data plane on the same two URL forms, with $connect / $disconnect / $default / custom-action routing, $request.body.* RouteSelectionExpression, @connections management API (PostToConnection / GetConnection / DeleteConnection), per-connection outbox for server-side push; {param} / {proxy+} matching; custom domain names and API mappings shared with API Gateway v1, routed by Host; JWT/Lambda authorizer CRUD; pin apiId across runs with the ms-custom-id tag
API Gateway v1 CreateRestApi, GetRestApi, GetRestApis, UpdateRestApi, DeleteRestApi, PutRestApi, CreateResource, GetResource, GetResources, UpdateResource, DeleteResource, PutMethod, GetMethod, DeleteMethod, UpdateMethod, PutMethodResponse, GetMethodResponse, DeleteMethodResponse, PutIntegration, GetIntegration, DeleteIntegration, UpdateIntegration, PutIntegrationResponse, GetIntegrationResponse, DeleteIntegrationResponse, CreateDeployment, GetDeployment, GetDeployments, UpdateDeployment, DeleteDeployment, CreateStage, GetStage, GetStages, UpdateStage, DeleteStage, CreateAuthorizer, GetAuthorizer, GetAuthorizers, UpdateAuthorizer, DeleteAuthorizer, CreateModel, GetModel, GetModels, DeleteModel, CreateDocumentationPart, GetDocumentationPart, GetDocumentationParts, UpdateDocumentationPart, DeleteDocumentationPart, CreateApiKey, GetApiKey, GetApiKeys, UpdateApiKey, DeleteApiKey, CreateUsagePlan, GetUsagePlan, GetUsagePlans, UpdateUsagePlan, DeleteUsagePlan, CreateUsagePlanKey, GetUsagePlanKeys, DeleteUsagePlanKey, CreateDomainName, GetDomainName, GetDomainNames, DeleteDomainName, CreateDomainNameAccessAssociation, GetDomainNameAccessAssociations, DeleteDomainNameAccessAssociation, RejectDomainNameAccessAssociation, GenerateClientCertificate, GetClientCertificate, GetClientCertificates, UpdateClientCertificate, DeleteClientCertificate, CreateBasePathMapping, GetBasePathMapping, GetBasePathMappings, DeleteBasePathMapping, TagResource, UntagResource, GetTags, CreateRequestValidator, GetRequestValidators, GetRequestValidator, UpdateRequestValidator, DeleteRequestValidator REST API (v1) protocol; Lambda proxy format 1.0 (AWS_PROXY), non-proxy Lambda (AWS — the handler's output is the response body, Lambda request mapping templates not modeled) and non-proxy AWS integrations whose URI targets SQS (arn:aws:apigateway:{region}:sqs:path/{account}/{queue}: a request template subset — $input.body / $input.json('…') / $input.params('…') / $util.urlEncode(…), $context.authorizer values including Cognito claims, #set, comments and interpolated strings — renders the form-encoded SQS Query call, run in the URI's account and region, and the backend result or error is mapped through integrationResponses), HTTP proxy (HTTP_PROXY), MOCK integration; data plane via {apiId}.execute-api.localhost Host header, path-based /_aws/execute-api/{apiId}/{stage}/{path}, or legacy /restapis/{apiId}/{stage}/_user_request_/{path}; qualified-alias integration URIs (arn:...:function:<name>:<alias>) resolve to the alias's target version; resource tree with {param} and {proxy+} path matching; routing is on the resource+method pair, so a request the matched resource does not serve falls through to a {proxy+} elsewhere in the tree (a methodless intermediate, a CORS-preflight-only node, or any undeclared verb), as it does on AWS; TOKEN and REQUEST Lambda authorizers on the data plane, with the returned IAM policy evaluated against each request's own method ARN and authorizerResultTtlInSeconds caching the policy per stage and identity source; JSON Patch for all PATCH operations; state persistence; pin id across runs with the ms-custom-id tag
ELBv2 / ALB CreateLoadBalancer, DescribeLoadBalancers, DeleteLoadBalancer, DescribeLoadBalancerAttributes, ModifyLoadBalancerAttributes, CreateTargetGroup, DescribeTargetGroups, ModifyTargetGroup, DeleteTargetGroup, DescribeTargetGroupAttributes, ModifyTargetGroupAttributes, CreateListener, DescribeListeners, ModifyListener, DeleteListener, CreateRule, DescribeRules, ModifyRule, DeleteRule, SetRulePriorities, SetSubnets, SetIpAddressType, SetSecurityGroups, RegisterTargets, DeregisterTargets, DescribeTargetHealth, AddListenerCertificates, DescribeListenerCertificates, RemoveListenerCertificates, AddTags, RemoveTags, DescribeTags Control plane + data plane; ALB→Lambda live traffic routing; path-pattern, host-header, http-method, query-string, http-header rule conditions; forward, redirect, fixed-response, authenticate-oidc, authenticate-cognito actions (the x-amzn-oidc-data public key is served by kid via public-keys.auth.elb.<region>.amazonaws.com Host header or /_ministack/elb/public-keys/<kid>); url-rewrite and host-header-rewrite rule transforms stored and returned (not applied to traffic); data plane via {lb-name}.alb.localhost Host header or /_alb/{lb-name}/ path prefix
KMS CreateKey, ReplicateKey, ListKeys, DescribeKey, GetPublicKey, Sign, Verify, Encrypt, Decrypt, GenerateMac, VerifyMac, GenerateDataKey, GenerateDataKeyWithoutPlaintext, GenerateDataKeyPair, GenerateDataKeyPairWithoutPlaintext, GenerateRandom, CreateAlias, DeleteAlias, ListAliases, UpdateAlias, UpdateKeyDescription, EnableKeyRotation, DisableKeyRotation, GetKeyRotationStatus, GetKeyPolicy, PutKeyPolicy, ListKeyPolicies, EnableKey, DisableKey, ScheduleKeyDeletion, CancelKeyDeletion, TagResource, UntagResource, ListResourceTags, GetParametersForImport, ImportKeyMaterial, DeleteImportedKeyMaterial, CreateGrant, ListGrants, RevokeGrant, RetireGrant 41 actions; multi-Region keys: CreateKey with MultiRegion mints an mrk- key and ReplicateKey creates a same-id replica in another region sharing the key material (ciphertext from the primary decrypts against the replica; a primary with live replicas waits in PendingReplicaDeletion); CMK specs: RSA (2048/3072/4096), ECC (SECG_P256K1, NIST P-256/384/521), Edwards25519 (ECC_NIST_EDWARDS25519 — pure Ed25519 via ED25519_SHA_512 with MessageType=RAW; ED25519_PH_SHA_512 advertised in SigningAlgorithms but returns UnsupportedOperationException until Ed25519ph lands), HMAC (HMAC_224/HMAC_256/HMAC_384/HMAC_512 with KeyUsage=GENERATE_VERIFY_MAC), and symmetric keys; PKCS1v15, PSS, and ECDSA signing; real RFC 2104 HMAC via GenerateMac/VerifyMac (4096-byte message cap, KMSInvalidMacException on mismatch, DryRun supported); envelope encryption, incl. asymmetric data key pairs (KeyPairSpec adds RSA_3072); alias resolution; key rotation; key policies; tags; enable/disable/schedule deletion; grants (stored and listed, not evaluated for authorization); full Terraform aws_kms_key compatible; cryptography package included in Docker image
CloudFront CreateDistribution, GetDistribution, GetDistributionConfig, ListDistributions, UpdateDistribution, DeleteDistribution, AssociateDistributionWebACL, DisassociateDistributionWebACL, CreateInvalidation, ListInvalidations, GetInvalidation, CreateOriginAccessControl, GetOriginAccessControl, GetOriginAccessControlConfig, ListOriginAccessControls, UpdateOriginAccessControl, DeleteOriginAccessControl, CreateMonitoringSubscription, GetMonitoringSubscription, DeleteMonitoringSubscription, CreateFunction, DeleteFunction, DescribeFunction, GetFunction, ListFunctions, PublishFunction, UpdateFunction, KeyValueStore (mgmt): CreateKeyValueStore, DescribeKeyValueStore, ListKeyValueStores, UpdateKeyValueStore, DeleteKeyValueStore, Policies: CreateCachePolicy, GetCachePolicy, GetCachePolicyConfig, UpdateCachePolicy, DeleteCachePolicy, ListDistributionsByCachePolicyId, CreateOriginRequestPolicy, GetOriginRequestPolicy, GetOriginRequestPolicyConfig, UpdateOriginRequestPolicy, DeleteOriginRequestPolicy, ListDistributionsByOriginRequestPolicyId, CreateResponseHeadersPolicy, GetResponseHeadersPolicy, GetResponseHeadersPolicyConfig, UpdateResponseHeadersPolicy, DeleteResponseHeadersPolicy, ListDistributionsByResponseHeadersPolicyId, Public keys / key groups: CreatePublicKey, GetPublicKey, GetPublicKeyConfig, UpdatePublicKey, DeletePublicKey, ListPublicKeys, CreateKeyGroup, GetKeyGroup, GetKeyGroupConfig, UpdateKeyGroup, DeleteKeyGroup, ListKeyGroups, VPC origins: CreateVpcOrigin, GetVpcOrigin, UpdateVpcOrigin, DeleteVpcOrigin, ListVpcOrigins, SaaS Manager: CreateConnectionGroup, GetConnectionGroup, GetConnectionGroupByRoutingEndpoint, UpdateConnectionGroup, DeleteConnectionGroup, ListConnectionGroups, CreateDistributionTenant, GetDistributionTenant, GetDistributionTenantByDomain, UpdateDistributionTenant, DeleteDistributionTenant, ListDistributionTenants, ListDistributionTenantsByCustomization, AssociateDistributionTenantWebACL, DisassociateDistributionTenantWebACL, CreateInvalidationForDistributionTenant, GetInvalidationForDistributionTenant, ListInvalidationsForDistributionTenant, VerifyDnsConfiguration, GetManagedCertificateDetails, ListDomainConflicts, UpdateDomainAssociation, ListDistributionsByConnectionMode, TagResource, UntagResource, ListTagsForResource REST/XML API; ETag-based optimistic concurrency; Origin config round-trip; cache / origin request / response headers policies round-trip their full config with ETag / If-Match optimistic concurrency; Origin Access Control (OAC) with SigV4 signing for S3, MediaStore, Lambda, MediaPackageV2 origins; the AWS-managed cache (7), origin request (8) and response headers (5) policies are listed and immutable; CreateMonitoringSubscription upserts; functions keep DEVELOPMENT/LIVE stages and KeyValueStoreAssociations, and UpdateFunction clears LIVE until PublishFunction runs again; data plane: a request to a distribution's DomainName (d + 13 characters, or <label>.cloudfront.<MINISTACK_HOST>) or to one of its Aliases (an exact name first, else the longest matching *. wildcard) is served through its cache behaviors, policies, viewer-request / viewer-response CloudFront Functions (on Node) and an S3 or custom origin (read only as the bucket policy allows: OAC, OAI or public), with custom error responses for origin errors, Compress gzipping eligible responses (Brotli with the optional brotli package) and functions reading their associated KeyValueStore through cf.kvs() and picking the origin with cf.updateRequestOrigin(), cf.selectRequestOriginById() and cf.createRequestOriginGroup(); not modelled: caching, logging, geo restrictions, signed URLs, Lambda@Edge, CORS preflight, and origins at AWS hostnames that MiniStack does not serve (502); SaaS Manager multi-tenant distributions: DistributionConfig round-trips ConnectionMode / TenantConfig, tenants require a tenant-only distribution, CNAMEs are unique across tenants and distribution aliases, a tenant without an explicit connection group lazily gets the account default group, and MiniStack collapses async workflows (tenants deploy, domains activate, DNS verifies, managed certificates issue immediately); key groups validate Items against real public keys, and deleting either while still referenced (PublicKeyInUse / ResourceInUse) is rejected; VPC origins answer Deploying and are Deployed on the next read, use ETag / If-Match on update and delete, take tags on their vpcorigin ARN, have names unique per account, and, while a distribution's VpcOriginConfig names them, answer CannotDeleteEntityWhileInUse to a delete and CannotUpdateEntityWhileInUse to an update that changes them; the endpoint must be an ALB, NLB or EC2 instance that exists in MiniStack, and viewer requests are not routed to it
CloudFront KeyValueStore (data plane) DescribeKeyValueStore, ListKeys, GetKey, PutKey, DeleteKey, UpdateKeys Separate cloudfront-keyvaluestore SDK service (REST/JSON, signing name cloudfront-keyvaluestore); ETag-based optimistic concurrency on every mutating op; UpdateKeys is atomic (validates whole batch, rejects on first invalid entry); ListKeys paginates with opaque NextToken capped at 50 results per AWS spec; bridges to the management plane via the shared KVS ARN
CloudTrail LookupEvents, CreateTrail, DeleteTrail, GetTrail, DescribeTrails, ListTrails, UpdateTrail, GetTrailStatus, StartLogging, StopLogging, PutEventSelectors, GetEventSelectors, AddTags, ListTags, RemoveTags In-memory audit log; recording opt-in via CLOUDTRAIL_RECORDING=1 (or runtime config endpoint); per-account ring buffer (CLOUDTRAIL_MAX_EVENTS=10000); LookupEvents supports all 8 AWS LookupAttributes; IsLogging flips on Start/StopLogging; CreateTrail/UpdateTrail persist KmsKeyId (normalized to a key ARN; omitted when unset) so aws_cloudtrail converges without drift
Resource Groups CreateGroup, GetGroup, DeleteGroup, UpdateGroup, ListGroups, GetGroupQuery, UpdateGroupQuery, GetGroupConfiguration, PutGroupConfiguration, GroupResources, UngroupResources, ListGroupResources, ListGroupingStatuses, SearchResources, Tag, Untag, GetTags, GetAccountSettings, UpdateAccountSettings 19 of 23 spec ops; tag-sync ops omitted (not exposed by AWS CLI / Terraform); Group accepts bare name or full ARN
AWS Config PutConfigRule, DescribeConfigRules, DeleteConfigRule, PutConfigurationRecorder, DescribeConfigurationRecorders, DescribeConfigurationRecorderStatus, PutDeliveryChannel, DescribeDeliveryChannels, DescribeDeliveryChannelStatus, StartConfigurationRecorder, StopConfigurationRecorder, DescribeComplianceByConfigRule, GetComplianceDetailsByConfigRule, DescribeConfigRuleEvaluationStatus Control plane for config rules, configuration recorders, and delivery channels; recorder and delivery-channel CRUD plus their status reads; start/stop recorder; compliance and evaluation-status reads
Cloud Control API CreateResource, GetResource, UpdateResource, DeleteResource, ListResources, ListResourceRequests, GetResourceRequestStatus, CancelResourceRequest Generic resource control plane behind Terraform's awscc provider and CDK L1 constructs; AWS ProgressEvent and ResourceDescription shapes (Properties as a JSON string); resource-request status + cancel
Cost & Usage Reports DeleteReportDefinition, DescribeReportDefinitions, ListTagsForResource, ModifyReportDefinition, PutReportDefinition, TagResource, UntagResource 7 of 7 spec ops
AWS Budgets CreateBudget, DescribeBudget, DescribeBudgets, UpdateBudget, DeleteBudget, CreateNotification, UpdateNotification, DeleteNotification, DescribeNotificationsForBudget, CreateSubscriber, UpdateSubscriber, DeleteSubscriber, DescribeSubscribersForNotification, TagResource, UntagResource, ListTagsForResource Global (account-scoped) service; CreateBudget accepts inline NotificationsWithSubscribers and ResourceTags; enforces the 10-notification/budget and 11-subscriber/notification quotas (CreationLimitExceededException); deleting a notification's last subscriber deletes the notification; a budget's CalculatedSpend always reports zero (no billing engine); verified against Terraform's aws_budgets_budget resource
Managed Service for Apache Flink CreateApplication, DescribeApplication, UpdateApplication, DeleteApplication, StartApplication, StopApplication, CreateApplicationSnapshot, ListApplicationSnapshots, DescribeApplicationSnapshot, DeleteApplicationSnapshot, AddApplicationCloudWatchLoggingOption, DeleteApplicationCloudWatchLoggingOption, TagResource, UntagResource, ListTagsForResource kinesisanalyticsv2 control plane for Apache Flink applications (FLINK-* runtimes; SQL and Studio applications are not implemented): application versions and ConditionalToken with ConcurrentModificationException on a stale one, the model's status transitions on start, stop and update (without a running job, a transitional status settles on the next read), snapshots (a graceful stop takes one when snapshots are enabled, Force does not), CloudWatch logging options and tags. With Docker, FLINK-1_19 and FLINK-1_20 jobs run in the official Flink image (see Managed Flink with Real Jobs); other runtimes and Docker-less setups stay control plane only. An application restored after a restart comes back READY
Inspector2 Enable, Disable, ListFindings, BatchGetFindingDetails, ListCoverage, ListCoverageStatistics, ListFindingAggregations, SearchVulnerabilities, TagResource, UntagResource, ListTagsForResource, CreateFilter, ListFilters, DeleteFilter 14 operations; deterministic stub vulnerability findings for ECR images, Lambda functions, and EC2 instances; filtering, sorting, pagination
AmazonMQ CreateBroker, ListBrokers, DescribeBrokers, DeleteBrokers, UpdateBroker, RebootBroker, DescribeBrokerEngineTypes, DescribeBrokerInstanceOptions, CreateTags, ListTags, DeleteTags, CreateUser, DeleteUser, ListUsers, UpdateUser, DescribeUser 16 of 24 spec ops; No real container support
Amazon Location (trackers) CreateTracker, DescribeTracker, UpdateTracker, ListTrackers, DeleteTracker, BatchUpdateDevicePosition, GetDevicePosition, BatchGetDevicePosition, GetDevicePositionHistory Tracker control plane + in-memory device-position store; signs with credential scope geo (the client is named location); ISO 8601 SampleTime/ReceivedTime, Position as the modeled [lon, lat] double pair, out-of-range coordinates as per-entry Errors; GetDevicePositionHistory ascending, defaulting to the last 24 h; ListTrackers and the history page at MaxResults 1..100 with NextToken; every sample is stored (no position filtering, no 30-day expiry), newest 100 per device; KmsKeyId/PositionFiltering/EventBridgeEnabled/Tags stored without effect; no consumers, geofences, maps, places or routes; CFN AWS::Location::Tracker supported

CloudFormation

Feature Details
Stack Operations CreateStack, UpdateStack, DeleteStack, DescribeStacks, ListStacks, DescribeStackEvents, DescribeStackResource, DescribeStackResources, GetTemplate, ValidateTemplate, GetTemplateSummary, RollbackStack
Change Sets CreateChangeSet, DescribeChangeSet, ExecuteChangeSet, DeleteChangeSet, ListChangeSets
StackSets DescribeStackSet, ListStackInstances — for StackSets created by an AWS::CloudFormation::StackSet resource
Exports ListExports — cross-stack references via Fn::ImportValue
Template Formats JSON and YAML (including !Ref, !Sub, !GetAtt shorthand tags)
Intrinsic Functions Ref, Fn::GetAtt, Fn::Join, Fn::Sub (both forms), Fn::Select, Fn::Split, Fn::If, Fn::Equals, Fn::And, Fn::Or, Fn::Not, Fn::Base64, Fn::FindInMap, Fn::ImportValue, Fn::GetAZs, Fn::Cidr
Pseudo-Parameters AWS::StackName, AWS::StackId, AWS::Region, AWS::AccountId, AWS::URLSuffix, AWS::Partition, AWS::NoValue
Parameters Default values, AllowedValues validation, NoEcho masking, String/Number/CommaDelimitedList types
Stack Tags The Tags of CreateStack, UpdateStack and change sets reach every resource whose type carries a tag property, together with aws:cloudformation:stack-name, stack-id and logical-id (IoT types get the stack's tags without these three, IoT job templates get none); a key the template sets wins
Conditions Fn::Equals, Fn::And, Fn::Or, Fn::Not — conditional resource creation
Rules The Rules section runs after the parameters resolve and before any resource is touched (CreateStack, UpdateStack, CreateChangeSet): RuleCondition, Assertions with AssertDescription, Fn::And/Or/Not/Equals/If/Contains/EachMemberEquals/EachMemberIn and Ref; Fn::RefAll, Fn::ValueOf and Fn::ValueOfAll read the EC2 store for VPC, subnet and security-group ids
Transforms AWS::Serverless-2016-10-31 (SAM, in the full image), AWS::LanguageExtensions (Fn::ForEach over a literal list, a CommaDelimitedList parameter, Fn::FindInMap or Fn::Split, nested and inside Properties; ${Id} / &{Id} in the fragment keys, ${Id} in Fn::Sub and a Ref to the identifier; Fn::Length, Fn::ToJsonString) and the embedded AWS::Include transform (Fn::Transform with an s3:// Location, JSON or YAML snippets)
Rollback Configurable via DisableRollback, CreateStack OnFailure (ROLLBACK, DO_NOTHING, DELETE) and CreateChangeSet OnStackFailure (DELETE for CREATE change sets only); ExecuteChangeSet honours DisableRollback. On failure, previously created resources are cleaned up in reverse dependency order; DELETE then deletes the stack; a stack left CREATE_FAILED or UPDATE_FAILED with rollback disabled is rolled back later with RollbackStack (ROLLBACK_COMPLETE or UPDATE_ROLLBACK_COMPLETE, RetainExceptOnCreate honoured)
Stack Deletion RetainResources and DeletionMode=FORCE_DELETE_STACK on a DELETE_FAILED stack: the resources that failed to delete, and what they depend on, are retained (DELETE_SKIPPED) and the stack reaches DELETE_COMPLETE
Templates GetTemplate TemplateStage (Processed, the default, the template after SAM, AWS::LanguageExtensions and AWS::Include), StagesAvailable, and a change set's template through ChangeSetName
Client Request Tokens The ClientRequestToken of CreateStack, UpdateStack, DeleteStack, ExecuteChangeSet, ContinueUpdateRollback, CancelUpdateStack and RollbackStack is reported on every stack event the operation records
Drift Detection DetectStackDrift, DescribeStackDriftDetectionStatus, DetectStackResourceDrift, DescribeStackResourceDrifts (status filters, MaxResults/NextToken), and DriftInformation on DescribeStacks, ListStacks and the stack resource calls. Detection completes synchronously and compares the properties the template sets with the service's current record. Property-level drift (PropertyDifferences, expected and actual properties) for AWS::SQS::Queue, AWS::SSM::Parameter, AWS::SNS::Topic, AWS::Lambda::Function, AWS::IAM::Role, AWS::DynamoDB::Table, AWS::S3::Bucket (name, versioning), AWS::Logs::LogGroup and AWS::SecretsManager::Secret; stack-level tags count toward Tags. Existence only (IN_SYNC or DELETED) for AWS::Kinesis::Stream, AWS::ECR::Repository, AWS::StepFunctions::StateMachine, AWS::Events::Rule and AWS::SNS::Subscription. Every other type is NOT_CHECKED
Async Status Stacks deploy asynchronously (CREATE_IN_PROGRESS → CREATE_COMPLETE) — poll with DescribeStacks
Quotas The template and stack quotas of the CloudFormation quotas page are enforced before a stack exists: 51,200 bytes of TemplateBody, 1,000,000 bytes behind TemplateURL, 500 resources, 200 parameters / outputs / mappings, 200 attributes per mapping, 255-character names, a 1,024-byte description, 4,096-byte parameter values, and a stack name of up to 128 alphanumeric characters and hyphens starting with a letter

Supported Resource Types:

Resource Type Ref Returns GetAtt
AWS::S3::Bucket Bucket name Arn, DomainName, RegionalDomainName, WebsiteURL
AWS::SQS::Queue Queue URL Arn, QueueName, QueueUrl
AWS::SNS::Topic Topic ARN TopicArn, TopicName
AWS::SNS::Subscription Subscription ARN —
AWS::DynamoDB::Table Table name Arn, StreamArn
AWS::Lambda::Function Function name Arn
AWS::IAM::Role Role name Arn, RoleId
AWS::IAM::User User name Arn
AWS::IAM::Policy Generated id Id
AWS::IAM::InstanceProfile Profile name Arn
AWS::SSM::Parameter Parameter name Type, Value
AWS::Logs::LogGroup Log group name Arn
AWS::Logs::MetricFilter Filter name —
AWS::Logs::LogStream Log stream name —
AWS::Events::EventBus EventBus name Arn, Name
AWS::Events::Archive Archive name Arn
AWS::Events::Rule Rule name Arn
AWS::Kinesis::Stream Stream name Arn, StreamId
AWS::KinesisAnalyticsV2::Application Application name —
AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption Logging option id —
AWS::ElastiCache::SubnetGroup Subnet group name —
AWS::ElastiCache::ParameterGroup Generated parameter group name CacheParameterGroupName
AWS::ElastiCache::CacheCluster Cluster name Id, RedisEndpoint.Address, RedisEndpoint.Port (Valkey / Redis OSS), ConfigurationEndpoint.Address, ConfigurationEndpoint.Port (Memcached)
AWS::ElastiCache::ReplicationGroup Replication group id PrimaryEndPoint.Address, PrimaryEndPoint.Port, ReaderEndPoint.Address, ReaderEndPoint.Port, ReadEndPoint.Addresses, ReadEndPoint.Ports, ReadEndPoint.AddressesList, ReadEndPoint.PortsList (cluster mode disabled); ConfigurationEndPoint.Address, ConfigurationEndPoint.Port (cluster mode enabled)
AWS::ElastiCache::User User id Arn, Status
AWS::ElastiCache::UserGroup User group id Arn, Status
AWS::Athena::WorkGroup Workgroup name CreationTime, WorkGroupConfiguration.EngineVersion.EffectiveEngineVersion
AWS::Glue::Database Database name —
AWS::Glue::Table Table name —
AWS::Glue::Partition <catalog id>|<database>|<table>|<values hash> IdentifierPartitionInputValues
AWS::Glue::Connection Connection name Name
AWS::Glue::Crawler Crawler name —
AWS::Glue::Job Job name —
AWS::Glue::Trigger Trigger name —
AWS::Lambda::Permission Statement ID —
AWS::Lambda::Version Version ARN Version
AWS::Lambda::Alias Alias ARN —
AWS::Lambda::EventSourceMapping UUID —
AWS::Lambda::EventInvokeConfig Unique function/qualifier identifier —
AWS::S3::BucketPolicy Bucket name —
AWS::S3::AccessPoint Access point name Alias, Arn, Name, NetworkOrigin
AWS::S3::MultiRegionAccessPoint Multi-Region Access Point name Alias, CreatedAt
AWS::S3ObjectLambda::AccessPoint Object Lambda Access Point name Alias.Status, Alias.Value, Arn, CreationDate
AWS::S3ObjectLambda::AccessPointPolicy Object Lambda Access Point name —
AWS::SQS::QueuePolicy Policy ID —
AWS::SNS::TopicPolicy Policy ID —
AWS::ApiGateway::RestApi API ID RootResourceId
AWS::ApiGateway::Resource Resource ID —
AWS::ApiGateway::Method Method ID —
AWS::ApiGateway::Model Model name —
AWS::ApiGateway::Deployment Deployment ID —
AWS::ApiGateway::Stage Stage name —
AWS::ApiGateway::DomainName Domain name DistributionDomainName, DistributionHostedZoneId, DomainNameArn, RegionalDomainName, RegionalHostedZoneId
AWS::ApiGateway::GatewayResponse Response ID Id
AWS::ApiGateway::DocumentationPart Documentation part ID DocumentationPartId
AWS::AppConfig::Application Application ID ApplicationId
AWS::AppSync::GraphQLApi API ID Arn, GraphQLUrl, ApiId
AWS::AppSync::DataSource DataSource name DataSourceArn
AWS::AppSync::Resolver Resolver ARN ResolverArn
AWS::AppSync::GraphQLSchema Schema ID —
AWS::AppSync::ApiKey API key ID ApiKey, Arn
AWS::SecretsManager::Secret Secret ARN —
AWS::Cognito::UserPool Pool ID Arn, ProviderName
AWS::Cognito::UserPoolClient Client ID ClientId, ClientSecret, Name
AWS::Cognito::UserPoolResourceServer Identifier —
AWS::Cognito::IdentityPool Pool ID —
AWS::Cognito::IdentityPoolPrincipalTag <pool ID>|<provider name> —
AWS::Cognito::UserPoolDomain Domain CloudFrontDistribution
AWS::Cognito::ManagedLoginBranding <pool ID>|<branding ID> ManagedLoginBrandingId
AWS::IoT::Thing Thing name Arn, Id
AWS::IoT::Certificate Certificate id Arn, Id
AWS::IoT::ThingPrincipalAttachment {ThingName}|{Principal} None
AWS::IoT::PolicyPrincipalAttachment {PolicyName}|{Principal} None
AWS::IoT::CACertificate Certificate id Arn, Id
AWS::IoT::DomainConfiguration Domain configuration name Arn, DomainType, ServerCertificates
AWS::IoT::ThingGroup Thing group id Arn, Id
AWS::ECR::Repository Repo name Arn, RepositoryUri
AWS::IAM::ManagedPolicy Policy ARN —
AWS::KMS::Key Key ID Arn, KeyId
AWS::KMS::Alias Alias name —
AWS::EC2::VPC VPC ID VpcId, DefaultSecurityGroup, DefaultNetworkAcl
AWS::EC2::Subnet Subnet ID SubnetId, AvailabilityZone
AWS::EC2::SecurityGroup SG ID GroupId, VpcId
AWS::EC2::InternetGateway IGW ID InternetGatewayId
AWS::EC2::VPCGatewayAttachment Attachment ID —
AWS::EC2::RouteTable RTB ID RouteTableId
AWS::EC2::Route Route ID —
AWS::EC2::SubnetRouteTableAssociation Association ID —
AWS::EC2::LaunchTemplate LT ID LaunchTemplateId, LaunchTemplateName, DefaultVersionNumber, LatestVersionNumber
AWS::ECS::Cluster Cluster name Arn, ClusterName
AWS::ECS::TaskDefinition Task def ARN TaskDefinitionArn
AWS::ECS::Service Service ARN ServiceArn, Name
AWS::EFS::FileSystem File system ID Arn, FileSystemId
AWS::EFS::MountTarget Mount target ID IpAddress, Id
AWS::EFS::AccessPoint Access point ID AccessPointId, Arn
AWS::ElasticLoadBalancingV2::LoadBalancer LB ARN Arn, DNSName, LoadBalancerFullName, CanonicalHostedZoneID, SecurityGroups
AWS::ElasticLoadBalancingV2::Listener Listener ARN ListenerArn, Arn
AWS::Lambda::LayerVersion Layer version ARN LayerVersionArn, Arn
AWS::Lambda::LayerVersionPermission <layer version ARN>#<statement id> Id
AWS::StepFunctions::StateMachine State machine ARN Arn, Name
AWS::Route53::HostedZone Zone ID Id, NameServers
AWS::Route53::RecordSet Record FQDN (trailing dot) Name
AWS::ServiceDiscovery::HttpNamespace Namespace ID Arn, Id
AWS::ServiceDiscovery::PrivateDnsNamespace Namespace ID Arn, HostedZoneId, Id
AWS::ServiceDiscovery::PublicDnsNamespace Namespace ID Arn, HostedZoneId, Id
AWS::ServiceDiscovery::Service Service ID Arn, Id, Name
AWS::ServiceDiscovery::Instance Instance ID —
AWS::ApiGatewayV2::Api API ID ApiId, ApiEndpoint
AWS::ApiGatewayV2::Stage Stage ID StageName
AWS::ApiGatewayV2::Integration Integration ID IntegrationId
AWS::ApiGatewayV2::Route Route ID RouteId
AWS::ApiGatewayV2::DomainName Domain name DomainNameArn, RegionalDomainName, RegionalHostedZoneId
AWS::ApiGatewayV2::ApiMapping API mapping ID ApiMappingId
AWS::IoT::ProvisioningTemplate Template name TemplateArn, Arn
AWS::IoT::JobTemplate Job template id Arn
AWS::SES::EmailIdentity Identity EmailIdentity
AWS::SES::ConfigurationSet Configuration set name None
AWS::SES::ConfigurationSetEventDestination Event destination ID Id
AWS::Signer::SigningProfile Profile ARN Arn, ProfileName, ProfileVersion, ProfileVersionArn
AWS::Signer::ProfilePermission <statement id>|<profile name> —
AWS::WAFv2::WebACL WebACL ID Arn, Id
AWS::CloudFront::Distribution Distribution ID Arn, DomainName, Id
AWS::CloudWatch::Alarm Alarm name Arn
AWS::CloudWatch::Dashboard Dashboard name —
AWS::RDS::DBCluster Cluster ID Arn, Endpoint.Address, Endpoint.Port, ReadEndpoint.Address
AWS::RDS::DBSubnetGroup Subnet group name DBSubnetGroupArn
AWS::RDS::DBParameterGroup Parameter group name DBParameterGroupArn, DBParameterGroupName
AWS::RDS::DBClusterParameterGroup Parameter group name —
AWS::SecretsManager::SecretTargetAttachment Secret ARN —
AWS::AutoScaling::AutoScalingGroup ASG name Arn
AWS::AutoScaling::LaunchConfiguration LC name Arn
AWS::AutoScaling::ScalingPolicy Policy ARN Arn, PolicyName
AWS::AutoScaling::LifecycleHook Hook name LifecycleHookName
AWS::AutoScaling::ScheduledAction Action ARN Arn, ScheduledActionName
AWS::Scheduler::Schedule Schedule name Arn
AWS::Scheduler::ScheduleGroup Group name Arn
AWS::Location::Tracker Tracker name Arn, TrackerArn, CreateTime, UpdateTime
AWS::CloudFormation::WaitCondition Condition ID Data, Id
AWS::CloudFormation::WaitConditionHandle Signal URL Id
AWS::CloudFormation::Stack (nested) Child stack ARN Outputs.<Name> — each child stack Output
AWS::CloudFormation::StackSet StackSetId — (SELF_MANAGED, one instance in the stack's own account and Region, deployed as a nested stack)

Unsupported resource types fail with CREATE_FAILED (or ROLLBACK_COMPLETE if rollback is enabled), so templates with unsupported types won't silently succeed.

MiniStack expands AWS SAM transforms (Transform: AWS::Serverless-2016-10-31) into native CloudFormation before provisioning, via the canonical aws-sam-translator. This ships in the full image only; a lean image that receives a SAM template returns a clear error pointing to the full image. See the IaC docs and MiniStack MCP for current guidance.

Infrastructure Services

Service Operations Notes
ECS CreateCluster, DeleteCluster, DescribeClusters, ListClusters, UpdateCluster, UpdateClusterSettings, PutClusterCapacityProviders, RegisterTaskDefinition, DeregisterTaskDefinition, DescribeTaskDefinition, ListTaskDefinitions, ListTaskDefinitionFamilies, DeleteTaskDefinitions, CreateService, DeleteService, DescribeServices, UpdateService, ListServices, ListServicesByNamespace, RunTask, StopTask, DescribeTasks, ListTasks, ExecuteCommand, UpdateTaskProtection, GetTaskProtection, CreateCapacityProvider, UpdateCapacityProvider, DeleteCapacityProvider, DescribeCapacityProviders, TagResource, UntagResource, ListTagsForResource, ListAccountSettings, PutAccountSetting, PutAccountSettingDefault, DeleteAccountSetting, PutAttributes, DeleteAttributes, ListAttributes, DescribeServiceDeployments, ListServiceDeployments, DescribeServiceRevisions, SubmitTaskStateChange, SubmitContainerStateChange, SubmitAttachmentStateChanges, DiscoverPollEndpoint 47 actions; RunTask starts real Docker containers via Docker socket; full Terraform ECS coverage
RDS CreateDBInstance, DeleteDBInstance, DescribeDBInstances, ModifyDBInstance, StartDBInstance, StopDBInstance, RebootDBInstance, CreateDBInstanceReadReplica, RestoreDBInstanceFromDBSnapshot, CreateDBCluster, DeleteDBCluster, DescribeDBClusters, ModifyDBCluster, StartDBCluster, StopDBCluster, FailoverDBCluster, SwitchoverGlobalCluster, FailoverGlobalCluster, CreateDBSnapshot, DeleteDBSnapshot, DescribeDBSnapshots, CreateDBClusterSnapshot, DescribeDBClusterSnapshots, DescribeDBClusterSnapshotAttributes, DeleteDBClusterSnapshot, CreateDBSubnetGroup, DeleteDBSubnetGroup, DescribeDBSubnetGroups, ModifyDBSubnetGroup, CreateDBParameterGroup, DeleteDBParameterGroup, DescribeDBParameterGroups, DescribeDBParameters, ModifyDBParameterGroup, CreateDBClusterParameterGroup, DescribeDBClusterParameterGroups, DeleteDBClusterParameterGroup, DescribeDBClusterParameters, ModifyDBClusterParameterGroup, CreateOptionGroup, DeleteOptionGroup, DescribeOptionGroups, DescribeOptionGroupOptions, ListTagsForResource, AddTagsToResource, RemoveTagsFromResource, DescribeDBEngineVersions, DescribeOrderableDBInstanceOptions, CreateGlobalCluster, DescribeGlobalClusters, DeleteGlobalCluster, RemoveFromGlobalCluster, ModifyGlobalCluster, CreateDBProxy, DescribeDBProxies, ModifyDBProxy, DeleteDBProxy, CreateDBProxyEndpoint, DescribeDBProxyEndpoints, ModifyDBProxyEndpoint, DeleteDBProxyEndpoint, DescribeDBProxyTargetGroups, ModifyDBProxyTargetGroup, RegisterDBProxyTargets, DeregisterDBProxyTargets, DescribeDBProxyTargets CreateDBInstance spins up real Postgres/MySQL Docker container, returns actual host:port endpoint; a standalone MySQL or MariaDB instance starts with its DB parameter group's set values, immediate changes to dynamic parameters reach running instances, and BackupRetentionPeriod=0 turns binary logging off; a cluster's endpoint is its stable AWS-shaped name, registered as a Docker network alias on the backing container (on user-defined networks; the default bridge keeps the address form), so a stored endpoint keeps resolving after the container is replaced; Aurora MySQL 8.0/8.4 compatibility objects (AWSAuthenticationPlugin, RDS/Aurora stored procedures, predefined S3 roles) install automatically for supported MySQL images so Aurora provisioning workflows run. IAM database authentication on MySQL and Aurora MySQL 8.0/8.4 (not MariaDB): a user created IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS' logs in with an SDK-generated auth token over mysql_clear_password when the instance or cluster has IAMDatabaseAuthenticationEnabled; with AUTH=true the token and the rds-db:connect policy are verified too. Planned Aurora MySQL switchover (SwitchoverGlobalCluster, and FailoverGlobalCluster without data loss allowed) performs a coordinated no-data-loss writer exchange on provisioned two-member MySQL 8 global clusters; other configurations keep the metadata-only path. RDS Proxy is control plane only — proxies, proxy endpoints, the default target group and registered targets are stored and returned with the AWS shapes, but nothing listens on the proxy endpoint hostname; clients keep connecting to the instance or cluster endpoint
DocumentDB CreateDBCluster, CreateDBInstance, DescribeDBClusters, DescribeDBInstances, ModifyDBCluster, ModifyDBInstance, RebootDBInstance, StartDBCluster, StopDBCluster, FailoverDBCluster, DeleteDBCluster, DeleteDBInstance, AddTagsToResource, RemoveTagsFromResource, ListTagsForResource Each cluster runs a documentdb-local container speaking the MongoDB protocol over TLS on its endpoint; engine versions 3.6.0, 4.0.0, 5.0.x and 8.0.x (default 8.0.0). The docdb client works on the normal endpoint; subnet and parameter groups are shared with RDS
Aurora DSQL CreateCluster, GetCluster, UpdateCluster, DeleteCluster, ListClusters, PutClusterPolicy, GetClusterPolicy, DeleteClusterPolicy, CreateStream, GetStream, ListStreams, DeleteStream, GetVpcEndpointServiceName, TagResource, UntagResource, ListTagsForResource CreateCluster spins up a real postgres:16-alpine Docker container fronted by a validating PG wire-protocol proxy that fails like real DSQL — rejects unsupported SQL (serial, extensions, temp tables, ...), accepts CREATE INDEX ASYNC + sys.jobs; endpoint is localhost:<port>; any password accepted
ElastiCache CreateCacheCluster, DeleteCacheCluster, DescribeCacheClusters, ModifyCacheCluster, RebootCacheCluster, CreateReplicationGroup, DeleteReplicationGroup, DescribeReplicationGroups, ModifyReplicationGroup, IncreaseReplicaCount, DecreaseReplicaCount, CreateCacheSubnetGroup, DescribeCacheSubnetGroups, ModifyCacheSubnetGroup, DeleteCacheSubnetGroup, CreateCacheParameterGroup, DescribeCacheParameterGroups, ModifyCacheParameterGroup, ResetCacheParameterGroup, DeleteCacheParameterGroup, DescribeCacheParameters, DescribeCacheEngineVersions, CreateUser, DescribeUsers, DeleteUser, ModifyUser, CreateUserGroup, DescribeUserGroups, DeleteUserGroup, ModifyUserGroup, ListTagsForResource, AddTagsToResource, RemoveTagsFromResource, CreateSnapshot, DeleteSnapshot, DescribeSnapshots, CreateServerlessCache, DescribeServerlessCaches, ModifyServerlessCache, DeleteServerlessCache, DescribeEvents CreateCacheCluster spins up a real Redis, Valkey, or Memcached Docker container (Engine=redis/valkey/memcached); a serverless cache gets a TLS-only, single-shard cluster-mode Valkey/Redis container whose certificate chains to the CA at GET /_ministack/elasticache/ca.pem
Glue CreateDatabase, DeleteDatabase, GetDatabase, GetDatabases, UpdateDatabase, CreateTable, DeleteTable, GetTable, GetTables, UpdateTable, BatchDeleteTable, CreatePartition, DeletePartition, GetPartition, GetPartitions, BatchCreatePartition, BatchGetPartition, BatchDeletePartition, CreatePartitionIndex, GetPartitionIndexes, GetColumnStatisticsForTable, UpdateColumnStatisticsForTable, DeleteColumnStatisticsForTable, GetColumnStatisticsForPartition, UpdateColumnStatisticsForPartition, DeleteColumnStatisticsForPartition, CreateConnection, DeleteConnection, GetConnection, GetConnections, CreateCrawler, DeleteCrawler, GetCrawler, GetCrawlers, UpdateCrawler, StartCrawler, StopCrawler, GetCrawlerMetrics, CreateJob, DeleteJob, GetJob, GetJobs, UpdateJob, StartJobRun, GetJobRun, GetJobRuns, BatchStopJobRun, CreateTrigger, GetTrigger, DeleteTrigger, UpdateTrigger, StartTrigger, StopTrigger, ListTriggers, BatchGetTriggers, GetTriggers, CreateWorkflow, GetWorkflow, DeleteWorkflow, UpdateWorkflow, StartWorkflowRun, CreateUserDefinedFunction, UpdateUserDefinedFunction, DeleteUserDefinedFunction, GetUserDefinedFunction, GetUserDefinedFunctions, CreateSecurityConfiguration, DeleteSecurityConfiguration, GetSecurityConfiguration, GetSecurityConfigurations, CreateClassifier, GetClassifier, GetClassifiers, DeleteClassifier, CreateTableOptimizer, GetTableOptimizer, UpdateTableOptimizer, DeleteTableOptimizer, BatchGetTableOptimizer, ListTableOptimizerRuns, TagResource, UntagResource, GetTags Table optimizers are stored, never run; Python shell jobs actually execute via subprocess; Spark jobs run on the official amazon/aws-glue-libs PySpark image (GlueVersion: 4.0 / 3.0) on MiniStack's Docker network; Glue-backed Iceberg REST catalog at /iceberg (signed with the glue credential scope, prefix catalogs/{catalog}) — read path for tables whose metadata_location parameter points at a metadata.json on MiniStack S3, e.g. DuckDB ATTACH ... (TYPE iceberg, ENDPOINT 'localhost:4566/iceberg', AUTHORIZATION_TYPE 'sigv4') with USE_SSL=1
S3 Tables CreateTableBucket, ListTableBuckets, GetTableBucket, DeleteTableBucket, CreateNamespace, ListNamespaces, GetNamespace, DeleteNamespace, CreateTable, ListTables, GetTable, DeleteTable, GetTableMetadataLocation, UpdateTableMetadataLocation, RenameTable, GetTableBucketEncryption, PutTableBucketEncryption, DeleteTableBucketEncryption, GetTableBucketMaintenanceConfiguration, PutTableBucketMaintenanceConfiguration, GetTableBucketPolicy, PutTableBucketPolicy, DeleteTableBucketPolicy, GetTableBucketStorageClass, PutTableBucketStorageClass, GetTableBucketMetricsConfiguration, PutTableBucketMetricsConfiguration, DeleteTableBucketMetricsConfiguration, GetTableEncryption, GetTableStorageClass, GetTableMaintenanceConfiguration, PutTableMaintenanceConfiguration, GetTableMaintenanceJobStatus, GetTablePolicy, PutTablePolicy, DeleteTablePolicy, TagResource, UntagResource, ListTagsForResource Iceberg-format tables; unset encryption, storage class and maintenance return the documented defaults; embedded Iceberg REST catalog at /iceberg so Spark jobs (spark.sql.catalog.*.type=rest) can create / load / commit without an external catalog, each catalog scoped to the table bucket ARN in its prefix and commits checked against their update requirements; data files in S3, metadata in memory
Athena StartQueryExecution, GetQueryExecution, GetQueryResults, StopQueryExecution, ListQueryExecutions, BatchGetQueryExecution, CreateWorkGroup, DeleteWorkGroup, GetWorkGroup, ListWorkGroups, UpdateWorkGroup, CreateNamedQuery, DeleteNamedQuery, GetNamedQuery, ListNamedQueries, BatchGetNamedQuery, CreateDataCatalog, GetDataCatalog, ListDataCatalogs, DeleteDataCatalog, UpdateDataCatalog, CreatePreparedStatement, GetPreparedStatement, DeletePreparedStatement, ListPreparedStatements, GetDatabase, ListDatabases, GetTableMetadata, ListTableMetadata, TagResource, UntagResource, ListTagsForResource Real SQL via DuckDB when installed (pip install duckdb), otherwise returns mock results; databases and tables come from the Glue Data Catalog, and CREATE EXTERNAL TABLE / DROP TABLE change it; S3 Tables are queryable as "s3tablescatalog/<bucket>".<namespace>.<table>; partitioned Glue tables keep their Glue partition types; result pagination; column type metadata
Firehose CreateDeliveryStream, DeleteDeliveryStream, DescribeDeliveryStream, ListDeliveryStreams, PutRecord, PutRecordBatch, UpdateDestination, TagDeliveryStream, UntagDeliveryStream, ListTagsForDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption S3 destinations write records to the local S3 emulator; all other destination types buffer in-memory; concurrency-safe UpdateDestination via VersionId; DeliveryStreamType=KinesisStreamAsSource consumes records from the source Kinesis stream on PutRecord / PutRecords and forwards them to the configured S3 destination, honoring Prefix and DeliveryStartTimestamp; ProcessingConfiguration.Processors[].Type=Lambda invoked per-batch with the AWS-shape event ({invocationId, deliveryStreamArn, region, records:[{recordId, approximateArrivalTimestamp, data}]}) — Ok records ship the transformed data downstream, Dropped/ProcessingFailed are omitted, Lambda failures pass records through unchanged (best-effort per AWS); S3 prefixes evaluate timestamp, random-string, error-output-type and dynamic partition keys (JQ MetadataExtraction or Lambda partitionKeys); DataFormatConversionConfiguration writes Parquet from the Glue schema (DuckDB, full image); an Iceberg destination on the Glue Data Catalog (CatalogARN arn:aws:glue:<region>:<account>:catalog) buffers records per BufferingHints (IntervalInSeconds 0 delivers before PutRecord/PutRecordBatch returns) and appends each buffer to the table as one Iceberg commit — Parquet files per identity partition, a new snapshot with FIREHOSE-DELIVERY-STREAM-ID / FIREHOSE-INTERNAL-CHECKPOINT in its summary, and the Glue metadata_location swapped, retried on a conflict and in arrival order; records that don't fit the table's schema go to <ErrorOutputPrefix>iceberg-failed/YYYY/MM/DD/HH/; DeliveryToIceberg.DataFreshness / SuccessfulRowCount / FailedRowCount are published to CloudWatch (DuckDB, full image; format-version 2 tables in MiniStack S3 with optional string and timestamp columns and identity partitions)
Route53 CreateHostedZone, GetHostedZone, DeleteHostedZone, ListHostedZones, ListHostedZonesByName, UpdateHostedZoneComment, AssociateVPCWithHostedZone, DisassociateVPCFromHostedZone, ListHostedZonesByVPC, ChangeResourceRecordSets (CREATE/UPSERT/DELETE), ListResourceRecordSets, GetChange, CreateHealthCheck, GetHealthCheck, DeleteHealthCheck, ListHealthChecks, UpdateHealthCheck, ChangeTagsForResource, ListTagsForResource REST/XML protocol; SOA + NS records auto-created; CallerReference idempotency; private zones with VPC associations; alias records, weighted/failover/latency routing; marker-based pagination
EC2 RunInstances, DescribeInstances, DescribeInstanceAttribute, DescribeInstanceTypes, DescribeVpcAttribute, TerminateInstances, StopInstances, StartInstances, RebootInstances, AssociateIamInstanceProfile, DescribeIamInstanceProfileAssociations, DisassociateIamInstanceProfile, ReplaceIamInstanceProfileAssociation, DescribeImages, RegisterImage, DeregisterImage, ModifyImageAttribute, DescribeImageAttribute, ResetImageAttribute, CreateSecurityGroup, DeleteSecurityGroup, DescribeSecurityGroups, AuthorizeSecurityGroupIngress, RevokeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupEgress, DescribeSecurityGroupRules, CreateKeyPair, DeleteKeyPair, DescribeKeyPairs, ImportKeyPair, CreatePlacementGroup, DeletePlacementGroup, DescribePlacementGroups, CreateVpc, DeleteVpc, DescribeVpcs, ModifyVpcAttribute, AssociateVpcCidrBlock, DisassociateVpcCidrBlock, CreateSubnet, DeleteSubnet, DescribeSubnets, ModifySubnetAttribute, CreateInternetGateway, DeleteInternetGateway, DescribeInternetGateways, AttachInternetGateway, DetachInternetGateway, CreateRouteTable, DeleteRouteTable, DescribeRouteTables, AssociateRouteTable, DisassociateRouteTable, ReplaceRouteTableAssociation, CreateRoute, ReplaceRoute, DeleteRoute, CreateNetworkInterface, DeleteNetworkInterface, DescribeNetworkInterfaces, AttachNetworkInterface, DetachNetworkInterface, CreateVpcEndpoint, DeleteVpcEndpoints, DescribeVpcEndpoints, ModifyVpcEndpoint, DescribePrefixLists, DescribeAvailabilityZones, AllocateAddress, ReleaseAddress, AssociateAddress, DisassociateAddress, DescribeAddresses, DescribeAddressesAttribute, CreateTags, DeleteTags, DescribeTags, CreateNatGateway, DescribeNatGateways, DeleteNatGateway, CreateNetworkAcl, DescribeNetworkAcls, DeleteNetworkAcl, CreateNetworkAclEntry, DeleteNetworkAclEntry, ReplaceNetworkAclEntry, ReplaceNetworkAclAssociation, CreateFlowLogs, DescribeFlowLogs, DeleteFlowLogs, CreateVpcPeeringConnection, AcceptVpcPeeringConnection, DescribeVpcPeeringConnections, DeleteVpcPeeringConnection, CreateDhcpOptions, AssociateDhcpOptions, DescribeDhcpOptions, DeleteDhcpOptions, CreateEgressOnlyInternetGateway, DescribeEgressOnlyInternetGateways, DeleteEgressOnlyInternetGateway, CreateManagedPrefixList, DescribeManagedPrefixLists, GetManagedPrefixListEntries, ModifyManagedPrefixList, DeleteManagedPrefixList, CreateVpnGateway, DescribeVpnGateways, AttachVpnGateway, DetachVpnGateway, DeleteVpnGateway, EnableVgwRoutePropagation, DisableVgwRoutePropagation, CreateCustomerGateway, DescribeCustomerGateways, DeleteCustomerGateway, DescribeInstanceCreditSpecifications, DescribeInstanceMaintenanceOptions, DescribeInstanceAutoRecoveryAttribute, ModifyInstanceMaintenanceOptions, DescribeInstanceTopology, DescribeSpotInstanceRequests, DescribeCapacityReservations, DescribeInstanceStatus, DescribeVpcClassicLink, DescribeVpcClassicLinkDnsSupport, CreateLaunchTemplate, CreateLaunchTemplateVersion, DescribeLaunchTemplates, DescribeLaunchTemplateVersions, ModifyLaunchTemplate, DeleteLaunchTemplate, CreateFleet, DescribeFleets, CreateVerifiedAccessInstance, DescribeVerifiedAccessInstances, ModifyVerifiedAccessInstance, DeleteVerifiedAccessInstance, CreateVerifiedAccessTrustProvider, DescribeVerifiedAccessTrustProviders, ModifyVerifiedAccessTrustProvider, DeleteVerifiedAccessTrustProvider, AttachVerifiedAccessTrustProvider, DetachVerifiedAccessTrustProvider, ModifyVerifiedAccessInstanceLoggingConfiguration, DescribeVerifiedAccessInstanceLoggingConfigurations, CreateVerifiedAccessGroup, DescribeVerifiedAccessGroups, ModifyVerifiedAccessGroup, DeleteVerifiedAccessGroup, GetVerifiedAccessGroupPolicy, ModifyVerifiedAccessGroupPolicy, CreateVerifiedAccessEndpoint, DescribeVerifiedAccessEndpoints, ModifyVerifiedAccessEndpoint, DeleteVerifiedAccessEndpoint, GetVerifiedAccessEndpointPolicy, ModifyVerifiedAccessEndpointPolicy, CreateTransitGateway, DescribeTransitGateways, ModifyTransitGateway, DeleteTransitGateway, CreateTransitGatewayRouteTable, DescribeTransitGatewayRouteTables, DeleteTransitGatewayRouteTable, CreateTransitGatewayVpcAttachment, DescribeTransitGatewayVpcAttachments, ModifyTransitGatewayVpcAttachment, DeleteTransitGatewayVpcAttachment, DescribeTransitGatewayAttachments, AssociateTransitGatewayRouteTable, DisassociateTransitGatewayRouteTable, EnableTransitGatewayRouteTablePropagation, DisableTransitGatewayRouteTablePropagation, GetTransitGatewayRouteTableAssociations, GetTransitGatewayRouteTablePropagations, CreateTransitGatewayRoute, DeleteTransitGatewayRoute, SearchTransitGatewayRoutes 180 actions; EC2 Fleet (CreateFleet / DescribeFleets) with instant-type synchronous launch and maintain / request async fulfillment, multi-config × multi-override round-robin capacity distribution, and DefaultTargetCapacityType-driven spot/on-demand selection — unblocks Karpenter / Cluster Autoscaler local validation; IAM instance profile association lifecycle is persisted (Associate*, Describe*, Replace*, Disassociate*) so Terraform aws_instance.iam_instance_profile round-trips without drift; AuthorizeSecurityGroupIngress is idempotent on duplicate rules (same behavior as egress; avoids Terraform re-apply failures); metadata-only instance records by default — RegisterImage with a container reference makes an AMI whose launches get a real box, so SSM Run Command returns a real exit code (see Instances with a real box); CreateVpc provisions per-VPC default route table, network ACL, and security group; cross-account AMI sharing via launch permissions (ModifyImageAttribute add/remove, Group=all makes the image public, DescribeImages shows shared images with the owner's OwnerId, ExecutableUsers honored, shared AMIs launch); full Terraform VPC module v6.6.0 compatible; VPN/Customer gateways, managed prefix lists, VPC endpoints with modify support; launch templates with versioning ($Latest/$Default); Verified Access control plane (instances, trust providers, groups, load-balancer / network-interface endpoints, logging configuration, group and endpoint policies; no access evaluation)
EBS CreateVolume, DeleteVolume, DescribeVolumes, DescribeVolumeStatus, AttachVolume, DetachVolume, ModifyVolume, DescribeVolumesModifications, EnableVolumeIO, ModifyVolumeAttribute, DescribeVolumeAttribute, CreateSnapshot, DeleteSnapshot, DescribeSnapshots, CopySnapshot, ModifySnapshotAttribute, DescribeSnapshotAttribute Part of EC2 Query/XML service; attach/detach updates volume state; snapshots stored as completed immediately; Pro-only on LocalStack — free here
EFS CreateFileSystem, DescribeFileSystems, DeleteFileSystem, UpdateFileSystem, CreateMountTarget, DescribeMountTargets, DeleteMountTarget, DescribeMountTargetSecurityGroups, ModifyMountTargetSecurityGroups, CreateAccessPoint, DescribeAccessPoints, DeleteAccessPoint, TagResource, UntagResource, ListTagsForResource, PutLifecycleConfiguration, DescribeLifecycleConfiguration, PutBackupPolicy, DescribeBackupPolicy, PutFileSystemPolicy, DescribeFileSystemPolicy, DeleteFileSystemPolicy, UpdateFileSystemProtection, CreateReplicationConfiguration, DescribeReplicationConfigurations, DeleteReplicationConfiguration, DescribeAccountPreferences, PutAccountPreferences REST/JSON /2015-02-01/*; CreationToken idempotency; FileSystem deletion blocked when mount targets exist or it is in a replication configuration; CreateMountTarget checks the subnet, security groups, zone and address; replication creates records only, nothing is copied; CFN AWS::EFS::FileSystem, MountTarget and AccessPoint supported
EMR RunJobFlow, DescribeCluster, ListClusters, TerminateJobFlows, ModifyCluster, SetTerminationProtection, SetVisibleToAllUsers, AddJobFlowSteps, DescribeStep, ListSteps, CancelSteps, AddInstanceFleet, ListInstanceFleets, ModifyInstanceFleet, AddInstanceGroups, ListInstanceGroups, ModifyInstanceGroups, ListBootstrapActions, AddTags, RemoveTags, GetBlockPublicAccessConfiguration, PutBlockPublicAccessConfiguration Control plane only — no real Spark/Hadoop; clusters start in WAITING (KeepAlive=true) or TERMINATED (KeepAlive=false); steps stored as COMPLETED immediately; all three instance modes (simple, InstanceGroups, InstanceFleets); TerminationProtected enforced; Pro-only on LocalStack — free here
Cognito User Pools: CreateUserPool, DeleteUserPool, DescribeUserPool, ListUserPools, UpdateUserPool, CreateUserPoolClient, DeleteUserPoolClient, DescribeUserPoolClient, ListUserPoolClients, UpdateUserPoolClient, AddUserPoolClientSecret, ListUserPoolClientSecrets, DeleteUserPoolClientSecret, CreateResourceServer, UpdateResourceServer, DescribeResourceServer, DeleteResourceServer, ListResourceServers, AdminCreateUser, AdminDeleteUser, AdminGetUser, ListUsers, AdminSetUserPassword, AdminUpdateUserAttributes, GetUserAttributeVerificationCode, VerifyUserAttribute, AdminConfirmSignUp, AdminDisableUser, AdminEnableUser, AdminResetUserPassword, AdminUserGlobalSignOut, AdminAddUserToGroup, AdminRemoveUserFromGroup, AdminListGroupsForUser, AdminListUserAuthEvents, AdminUpdateAuthEventFeedback, UpdateAuthEventFeedback, AdminInitiateAuth, AdminRespondToAuthChallenge, InitiateAuth, RespondToAuthChallenge, GlobalSignOut, RevokeToken, SignUp, ConfirmSignUp, ForgotPassword, ConfirmForgotPassword, ChangePassword, GetUser, UpdateUserAttributes, DeleteUser, CreateGroup, DeleteGroup, GetGroup, ListGroups, ListUsersInGroup, CreateUserPoolDomain, DeleteUserPoolDomain, DescribeUserPoolDomain, UpdateUserPoolDomain, SetUICustomization, GetUICustomization, CreateManagedLoginBranding, DescribeManagedLoginBranding, DescribeManagedLoginBrandingByClient, UpdateManagedLoginBranding, DeleteManagedLoginBranding, GetUserPoolMfaConfig, SetUserPoolMfaConfig, AssociateSoftwareToken, VerifySoftwareToken, AdminSetUserMFAPreference, SetUserMFAPreference, CreateIdentityProvider, DescribeIdentityProvider, UpdateIdentityProvider, DeleteIdentityProvider, ListIdentityProviders, GetIdentityProviderByIdentifier, AdminLinkProviderForUser, AdminDisableProviderForUser, TagResource, UntagResource, ListTagsForResource; Identity Pools: CreateIdentityPool, DeleteIdentityPool, DescribeIdentityPool, ListIdentityPools, UpdateIdentityPool, GetId, GetCredentialsForIdentity, GetOpenIdToken, SetIdentityPoolRoles, GetIdentityPoolRoles, SetPrincipalTagAttributeMap, GetPrincipalTagAttributeMap, ListIdentities, DescribeIdentity, MergeDeveloperIdentities, UnlinkDeveloperIdentity, UnlinkIdentity, TagResource, UntagResource, ListTagsForResource; OAuth2: /oauth2/token (authorization_code, refresh_token, client_credentials), /oauth2/revoke Stub JWT tokens (structurally valid base64url JWTs); USER_SRP_AUTH runs real SRP: PASSWORD_VERIFIER checks the client's proof against the stored password; CUSTOM_AUTH flow wired through the configured DefineAuthChallenge / CreateAuthChallenge / VerifyAuthChallengeResponse Lambda triggers (passwordless / magic-link / SMS-OTP); AdminCreateUser invokes the pool's CustomMessage trigger for the invitation; a pool's CustomEmailSender trigger gets the invitation, sign-up, resend, forgot-password and email OTP emails in place of Cognito's own, its code as an AWS Encryption SDK message under the pool's KMSKeyID; session TTL honors AuthSessionValidity, capped at 3 answered rounds per AWS; confirmation codes hardcoded (signup: 123456, forgot-password: 654321); TOTP verifies for real: the AssociateSoftwareToken secret is stored and checked with RFC 6238 (wrong code = EnableSoftwareTokenMFAException on verify, CodeMismatchException on the SOFTWARE_TOKEN_MFA challenge); MFA config and per-user enrollment stored in-memory; user pool domains: CreateUserPoolDomain with CustomDomainConfig registers a custom domain served on its own FQDN (without it, Domain is a prefix expanded to {prefix}.auth.{region}.amazoncognito.com), and the SAML ACS URL and OIDC federation callback are built from it — set one when MiniStack is reached through an external TLS terminator, so external IdPs get a reachable https://{domain}/oauth2/idpresponse instead of the internal gateway address; federated user linking: AdminLinkProviderForUser links an external identity to an existing profile before its first sign-in, so that sign-in resolves to the linked profile instead of minting a second {Provider}_id one, and the profile carries the identities attribute (also an ID-token claim); PreventUserExistenceErrors=ENABLED hides an unknown user across the auth flows (generic NotAuthorizedException incl. at RespondToAuthChallenge, simulated CodeDeliveryDetails with the masked Destination on ForgotPassword/ResendConfirmationCode, CodeMismatchException on ConfirmForgotPassword; the API default is LEGACY, as on AWS); AdminListUserAuthEvents requires UserPoolAddOns.AdvancedSecurityMode != OFF, else UserPoolAddOnNotEnabledException as on AWS — with it on, sign-ins, their MFA answers and password changes are recorded as auth events (no risk scoring: every event reports NoRisk), and AdminUpdateAuthEventFeedback stores feedback on them; principal tag attribute maps are stored and reported verbatim per identity provider, and a provider that was never configured answers ResourceNotFoundException (No Principal Tags configured for Provider {name}) as on AWS — UseDefaults round-trips but is never expanded into a tag map, since AWS applies the default claim mapping when it vends credentials, and GetCredentialsForIdentity registers its credentials as an STS session (GetCallerIdentity reports the pool role assumed as CognitoIdentityCredentials, and AUTH=true evaluates the session like any AssumeRole), though principal tags still never reach a session's aws:PrincipalTag policy context
ECR CreateRepository, DescribeRepositories, DeleteRepository, ListImages, DescribeImages, PutImage, BatchGetImage, BatchDeleteImage, GetAuthorizationToken, GetRepositoryPolicy, SetRepositoryPolicy, DeleteRepositoryPolicy, PutLifecyclePolicy, GetLifecyclePolicy, DeleteLifecyclePolicy, ListTagsForResource, TagResource, UntagResource, PutImageTagMutability, PutImageScanningConfiguration, DescribeRegistry, GetDownloadUrlForLayer, BatchCheckLayerAvailability, InitiateLayerUpload, UploadLayerPart, CompleteLayerUpload In-memory image registry; Docker V2 manifest support; authorization token generation; lifecycle policies; tag mutability; Pro-only on LocalStack — free here
AppSync GraphQL APIs: CreateGraphQLApi, GetGraphQLApi, ListGraphQLApis, UpdateGraphQLApi, DeleteGraphQLApi, CreateApiKey, UpdateApiKey, DeleteApiKey, ListApiKeys, CreateDataSource, GetDataSource, ListDataSources, UpdateDataSource, DeleteDataSource, CreateResolver, GetResolver, ListResolvers, UpdateResolver, DeleteResolver, CreateFunction, GetFunction, ListFunctions, UpdateFunction, DeleteFunction, CreateType, GetType, ListTypes, UpdateType, StartSchemaCreation, GetSchemaCreationStatus, GetIntrospectionSchema, PutGraphqlApiEnvironmentVariables, GetGraphqlApiEnvironmentVariables, CreateApiCache, GetApiCache, UpdateApiCache, DeleteApiCache, FlushApiCache, EvaluateCode, TagResource, UntagResource, ListTagsForResource; Event APIs: CreateApi, GetApi, ListApis, UpdateApi, DeleteApi, CreateChannelNamespace, GetChannelNamespace, ListChannelNamespaces, UpdateChannelNamespace, DeleteChannelNamespace, CreateApiKey, ListApiKeys, DeleteApiKey, HTTP Publish, WebSocket subscribe/publish GraphQL execution goes through graphql-core when the API has a schema (parse, validate, execute; an AppSync prelude supplies the AWS* scalars and @aws_* directives; a schemaless API keeps a lenient path); APPSYNC_JS resolvers execute — unit and pipeline, util/runtime/extensions globals, the @aws-appsync/utils/dynamodb helpers, NONE/HTTP/AMAZON_DYNAMODB/AWS_LAMBDA data sources — on a pool of warm Node workers (one evaluation in flight per worker, 30s bound with kill-and-respawn, heap cap; reuses the image's Node, no new dependency); GetIntrospectionSchema serves SDL or a real format=JSON introspection document; the API cache is honored by the data plane under FULL_REQUEST_CACHING and PER_RESOLVER_CACHING; a data-plane request satisfying none of the API's auth modes answers 401 UnauthorizedException, as on AWS (credentials are not verified — only their absence is refused). Event APIs support AWS-shaped /v2/apis management, /v1/apis/{apiId}/apikeys API-key operations, POST /event on *.appsync-api.*, and realtime *.appsync-realtime-api.* WebSocket flows with API-key and Lambda-authorizer checks
Cloud Map CreateHttpNamespace, CreatePrivateDnsNamespace, CreatePublicDnsNamespace, GetNamespace, ListNamespaces, DeleteNamespace, UpdateHttpNamespace, UpdatePrivateDnsNamespace, UpdatePublicDnsNamespace, CreateService, GetService, ListServices, DeleteService, UpdateService, RegisterInstance, DeregisterInstance, DiscoverInstances, DiscoverInstancesRevision, ListInstances, GetInstancesHealthStatus, UpdateInstanceCustomHealthStatus, GetServiceAttributes, UpdateServiceAttributes, DeleteServiceAttributes, GetOperation, ListOperations, TagResource, UntagResource, ListTagsForResource DNS namespaces create Route53 hosted zones; operation tracking; Terraform aws_service_discovery_* compatible
RDS Data API ExecuteStatement, BatchExecuteStatement, BeginTransaction, CommitTransaction, RollbackTransaction Routes SQL to real Docker-backed RDS database containers; supports MySQL (pymysql) and PostgreSQL (psycopg2); REST paths (/Execute, /BeginTransaction, etc.)
S3 Files CreateFileSystem, GetFileSystem, ListFileSystems, DeleteFileSystem, CreateMountTarget, GetMountTarget, ListMountTargets, UpdateMountTarget, DeleteMountTarget, CreateAccessPoint, GetAccessPoint, ListAccessPoints, DeleteAccessPoint, GetFileSystemPolicy, PutFileSystemPolicy, DeleteFileSystemPolicy, GetSynchronizationConfiguration, PutSynchronizationConfiguration, TagResource, UntagResource, ListTagsForResource 21 operations; control plane for the new S3 Files service (launched April 2026); file systems, mount targets, access points, policies
AutoScaling CreateAutoScalingGroup, DescribeAutoScalingGroups, UpdateAutoScalingGroup, DeleteAutoScalingGroup, SetDesiredCapacity, DescribeAutoScalingInstances, CreateLaunchConfiguration, DescribeLaunchConfigurations, DeleteLaunchConfiguration, PutScalingPolicy, DescribePolicies, DeletePolicy, PutLifecycleHook, DescribeLifecycleHooks, DeleteLifecycleHook, CompleteLifecycleAction, RecordLifecycleActionHeartbeat, PutScheduledUpdateGroupAction, DescribeScheduledActions, DeleteScheduledAction, CreateOrUpdateTags, DescribeTags, DeleteTags 24 actions; in-memory state — no real instances, but groups report DesiredCapacity in-service instances so Terraform's aws_autoscaling_group capacity waiter converges; full ASG lifecycle (launch configs, scaling policies, lifecycle hooks, scheduled actions, tags); CDK/Terraform compatible
CodeBuild CreateProject, BatchGetProjects, ListProjects, UpdateProject, DeleteProject, StartBuild, BatchGetBuilds, StopBuild, ListBuilds, ListBuildsForProject, BatchDeleteBuilds 11 actions; project and build metadata stored in-memory; by default StartBuild answers the build IN_PROGRESS in QUEUED, as AWS does, and every later BatchGetBuilds read shows it SUCCEEDED. Set MINISTACK_CODEBUILD_EXECUTE=1 and mount the Docker socket to really run them: the project's inline buildspec goes to the official AWS CodeBuild local agent, which runs the phases in environment.image, and BatchGetBuilds reports live phases with a real SUCCEEDED/FAILED outcome. Execution needs the workspace shared with the host at the same path (-v /tmp/ministack-codebuild:/tmp/ministack-codebuild), because the agent bind-mounts it into the build container; a build gets AWS_ENDPOINT_URL pointing back at MiniStack, honours timeoutInMinutes, and is stopped by StopBuild. An executed build streams the agent output into its logs.groupName / logs.streamName, so aws logs tail reads the build log back
AppConfig CreateApplication, GetApplication, ListApplications, UpdateApplication, DeleteApplication, CreateEnvironment, GetEnvironment, ListEnvironments, UpdateEnvironment, DeleteEnvironment, CreateConfigurationProfile, GetConfigurationProfile, ListConfigurationProfiles, UpdateConfigurationProfile, DeleteConfigurationProfile, CreateHostedConfigurationVersion, GetHostedConfigurationVersion, ListHostedConfigurationVersions, DeleteHostedConfigurationVersion, CreateDeploymentStrategy, GetDeploymentStrategy, ListDeploymentStrategies, UpdateDeploymentStrategy, DeleteDeploymentStrategy, StartDeployment, GetDeployment, ListDeployments, StopDeployment, TagResource, UntagResource, ListTagsForResource, StartConfigurationSession, GetLatestConfiguration 33 operations; control plane + data plane; hosted configuration versions; the AWS-predefined deployment strategies (4) are listed and immutable; deployments move through DEPLOYING, BAKING and COMPLETE on the strategy's schedule (LINEAR or EXPONENTIAL steps, then the bake time), with PercentageComplete, the event log and the environment State reported along the way; a Monitors alarm that goes to ALARM before the bake ends rolls the deployment back; one deployment per environment at a time (ConflictException, also for a stale LatestDeploymentNumber); StopDeployment rolls back a DEPLOYING deployment, and with AllowRevert also a BAKING one, or reverts a completed one within 72 hours; during a rollout a session gets the new version once the rollout reaches its fixed slot (MiniStack's choice, since AWS does not document how it picks targets); GetLatestConfiguration returns an empty body when the session already has the latest version, plus Version-Label, and uses RequiredMinimumPollIntervalInSeconds as the poll interval
Transfer Family CreateServer, DescribeServer, DeleteServer, ListServers, StartServer, StopServer, CreateUser, DescribeUser, DeleteUser, ListUsers, ImportSshPublicKey, DeleteSshPublicKey 12 operations; real SFTP listener on :2222 (override with SFTP_PORT) backed by S3 — ls, put, get, mkdir, rename work end-to-end against the local S3 emulator; SFTP_PORT_PER_SERVER=1 allocates one port per CreateServer from SFTP_BASE_PORT (default 2300); SSH key auth scans every user across every server and account; LOGICAL and PATH home-directory mappings; host key persists across restarts when PERSIST_STATE=1
IoT Jobs Control plane (iot): CreateJob, UpdateJob, DescribeJob, ListJobs, GetJobDocument, CancelJob, DeleteJob, ListJobExecutionsForThing, ListJobExecutionsForJob, DescribeJobExecution, CancelJobExecution, DeleteJobExecution, CreateJobTemplate, DescribeJobTemplate, ListJobTemplates, DeleteJobTemplate; data plane (iot-jobs-data): GetPendingJobExecutions, StartNextPendingJobExecution, DescribeJobExecution (incl. the $next sentinel), UpdateJobExecution 16 control-plane + 4 device data-plane operations sharing one store. A job created with a jobTemplateArn takes the template's document, configuration and maintenance windows, and a request member replaces the template's. Executions walk QUEUED → IN_PROGRESS → {SUCCEEDED, FAILED, REJECTED, CANCELED, TIMED_OUT}; an execution past its timeoutConfig.inProgressTimeoutInMinutes, or past the stepTimeoutInMinutes the device reported, becomes TIMED_OUT, and the device plane reports approximateSecondsBeforeTimedOut while it runs. REMOVED is counted in jobProcessDetails; a thing that leaves every target group of a CONTINUOUS job turns its QUEUED execution REMOVED, or gets a REMOVED execution 1 (without an event) if all its executions were deleted; deleting a thing DELETES its executions (freeing a job that was only waiting on that thing) rather than marking them REMOVED. versionNumber gives optimistic concurrency: every transition bumps it and a stale expectedVersion is rejected with a message that carries the current version — a 409 VersionConflictException on the control plane and a 400 InvalidRequestException on the device plane, each as its own service model declares. executionNumber is 1 for a thing's first execution of a job and one more each time the thing rejoins a CONTINUOUS job's target group after its execution finished. Devices may only report IN_PROGRESS / SUCCEEDED / FAILED / REJECTED via UpdateJobExecution; targets are thing or thing-group ARNs — SNAPSHOT jobs resolve group membership once at creation, CONTINUOUS jobs also pick up things added to a target group later, and a target must name a thing or thing group in the caller's own account and region (anything else is ResourceNotFoundException, since it would resolve to no devices at all); a non-continuous job auto-COMPLETEDs (with jobProcessDetails counts) once every execution is terminal. documentSource is read from MiniStack's S3: a job or job template created with an s3:// or S3 object URL keeps the object's content as its document, read once at creation; a missing bucket or object, a non-JSON object or one over 32 KB is refused, and so is a URL whose host is not S3. Presigned URLs: a ${aws:iot:s3-presigned-url:<url>} or -v2 placeholder needs presignedUrlConfig.roleArn, and what devices receive (HTTP and MQTT) carries a SigV4 presigned GET URL of MiniStack's S3 instead, signed with a session of that role. The URL is path style on the host the device used, and an IoT endpoint host drops everything up to and including its region label. Timestamps are epoch seconds on every plane, as AWS documents: control-plane responses use timestamp shapes (boto3 parses them to datetimes) while iot-jobs-data responses carry whole-second integer longs. Jobs over MQTT: the reserved $aws/things/<thing>/jobs/# request topics (get, start-next, <jobId>/get incl. $next, <jobId>/update) answer on their accepted/rejected topics from the same store as the HTTP plane (jobDocument as a JSON object over MQTT, a string over HTTP, as on AWS; rejections carry the string ErrorCode values and the execution's state on version and state-transition conflicts); notify fires when the pending set changes and notify-next when the queue front changes; stepTimeoutInMinutes is accepted but ignored. Job state persists with the IoT store when PERSIST_STATE=1
IoT Core CreateThing, DescribeThing, ListThings, UpdateThing, DeleteThing, CreateThingType, CreateThingGroup, AddThingToThingGroup, ListThingsInThingGroup, ListThingGroupsForThing, CreateKeysAndCertificate, RegisterCertificate, RegisterCertificateWithoutCA, CreateCertificateFromCsr, UpdateCertificate, DeleteCertificate, GetRegistrationCode, DeleteRegistrationCode, RegisterCACertificate, DescribeCACertificate, UpdateCACertificate, ListCACertificates, DeleteCACertificate, ListCertificatesByCA, CreateProvisioningTemplate, DescribeProvisioningTemplate, ListProvisioningTemplates, UpdateProvisioningTemplate, DeleteProvisioningTemplate, CreateProvisioningTemplateVersion, ListProvisioningTemplateVersions, DescribeProvisioningTemplateVersion, DeleteProvisioningTemplateVersion, CreateProvisioningClaim, AttachThingPrincipal, DetachThingPrincipal, ListThingPrincipals, ListPrincipalThings, CreatePolicy, CreatePolicyVersion, SetDefaultPolicyVersion, AttachPolicy, DetachPolicy, ListAttachedPolicies, ListTargetsForPolicy, AttachPrincipalPolicy, DetachPrincipalPolicy, ListPrincipalPolicies, ListPolicyPrincipals, CreateTopicRule, GetTopicRule, ReplaceTopicRule, DeleteTopicRule, ListTopicRules, EnableTopicRule, DisableTopicRule, UpdateIndexingConfiguration, GetIndexingConfiguration, DescribeIndex, ListIndices, SearchIndex, DescribeEndpoint, Publish (HTTP), GetRetainedMessage, ListRetainedMessages, MQTT-over-WebSocket pub/sub, DescribeEventConfigurations, UpdateEventConfigurations, CreateDomainConfiguration, DescribeDomainConfiguration, ListDomainConfigurations, UpdateDomainConfiguration, DeleteDomainConfiguration, TagResource, UntagResource, ListTagsForResource 76 operations + MQTT 3.1.1 and 5.0 over WebSocket (negotiated per connection) on the gateway port — clients use the address returned by DescribeEndpoint; local CA signs CreateKeysAndCertificate certificates (CA persists across restarts when PERSIST_STATE=1); multi-tenancy via transparent topic prefixing (same pattern as Transfer Family's shared SFTP listener); no plain TCP 1883 (real AWS IoT requires TLS or SigV4 on every connection), but a native mTLS MQTT listener on 8883 serves device SDK binaries by default — the client certificate is optional (no certificate means the default account, like an unsigned WebSocket upgrade) and, when presented, must be registered ACTIVE in exactly one account or be an unexpired provisioning claim, which then serves the session; unknown, inactive or doubly-registered certificates get a "not authorized" CONNACK, or with AUTH=true a close without one as on AWS (see IOT_MTLS_PORT in the environment table); local CA cert available at GET /_ministack/iot/ca.pem for SDK trust configuration; IoT policies are stored but not enforced on the data plane, except on mTLS MQTT connections with AUTH=true; fleet indexing works the way it does on AWS — UpdateIndexingConfiguration turns the AWS_Things index on (Terraform aws_iot_indexing_configuration), and searching while thingIndexingMode is OFF answers ResourceNotFoundException; SearchIndex then queries the live registry + classic shadows with AND-separated thingName / thingTypeName / thingGroupNames / attributes.* / shadow.reported.* / shadow.desired.* terms (* / ? wildcards, maxResults / nextToken paging) — there is no projection to build, so hits are always current; the deprecated principal-policy family (AttachPrincipalPolicy / DetachPrincipalPolicy / ListPrincipalPolicies / ListPolicyPrincipals) maps 1:1 onto the modern policy-target store; topic rules fire on matching publishes (incl. Basic Ingest $aws/rules/<name>) with SQL SELECT projection (topic(), timestamp(), encode(), newuuid(), replace(), clientid(), principal(), traceid(), isUndefined()), WHERE-clause evaluation (comparisons, IN, LIKE, BETWEEN, IS NULL, regexp_matches, bare boolean attributes, composed with AND / OR and parenthesised grouping; missing attributes fail closed as on AWS; unparseable SQL → SqlParseException), and lambda / republish / dynamoDBv2 / sns / sqs actions dispatched in-process with the rule's errorAction on failure; device shadows over MQTT — the $aws/things/<thing>/shadow[/name/<name>]/{get,update,delete} reserved topics drive the shadow store and reply on accepted / rejected (with delta and documents on update); a CA-certificate registry (RegisterCACertificate and friends) with the just-in-time-registration registered event on $aws/events/certificates/registered/{caCertificateId}; a provisioning-template registry (CreateProvisioningTemplate and friends) with fleet provisioning by claim: CreateProvisioningClaim, then CreateKeysAndCertificate and RegisterThing over MQTT on the JSON topics ($aws/certificates/create/json, $aws/provisioning-templates/<name>/provision/json), answered on the requesting connection, and with AUTH=true a claim connection may use only the certificate topics and its own template's provision topics; provisioningRoleArn is presence-checked but not resolved and the pre-provisioning hook Lambda is invoked before the template is applied; and SearchIndex answers connectivity.connected / connectivity.timestamp / connectivity.disconnectReason when thingConnectivityIndexingMode is STATUS, deriving connected from the live session registry; the broker publishes the presence and subscription lifecycle events ($aws/events/presence/connected|disconnected/{clientId}, $aws/events/subscriptions/subscribed|unsubscribed/{clientId})
IoT Wireless GetPositionEstimate Single operation (POST /position-estimate, SigV4 scope iotwireless, endpoint prefix api.iotwireless). The response is the raw GeoJSON blob — the output shape's payload trait — so boto3 hands back a StreamingBody under GeoJsonPayload, not a JSON envelope. Resolves from Ip only: WiFiAccessPoints / CellTowers / Gnss are accepted and ignored, Timestamp and AdvancedConfiguration only reach properties, and the estimate is synthetic + deterministic — the canonical IP (an IPv4-mapped IPv6 address counts as its IPv4 form) hashes onto lon [-180, 180) / lat [-60, 60), 4 decimals — so the same address always answers the same estimate and consumer tests can assert on it. properties carry horizontalAccuracy 1000000 (the value of one live call) and horizontalConfidenceLevel 0.68 (the default the AWS IoT Core Device Location guide documents — AdvancedConfiguration.WiFiCellular.ConfidencePercent overrides it, divided by 100, within the 50 to 99 the model allows) plus timestamp, which is always there: AWS documents the request's Timestamp as the resolve time and the receive time as its substitute when the caller sends none, so send a Timestamp and the whole blob is byte-identical. The real payload's country and city/state/postal properties are omitted for that determinism. An input with no resolver hint and an IpAddress that ipaddress.ip_address() refuses answer ValidationException (those two wordings are recorded from the live service; every other message in this service is MiniStack's own, since none is documented); a Timestamp that is not a Unix timestamp, and a ConfidencePercent outside the model's range, are ValidationException too; a valid address that is not globally routable or is multicast (private, loopback, TEST-NET, multicast groups, ...) answers ResourceNotFoundException Cannot find position for the IP address <ip>, mirroring the real service's refusal when its geo database has no entry. A well-formed request whose only measurements are WLAN/cell/GNSS is ResourceNotFoundException too — the developer guide documents 404 for exactly that ("no location information was found or solved ... The MAC address or cellular tower information is not sufficient ... The GNSS payload is not sufficient"), and 400 for measurement data formatted incorrectly. Stateless — nothing persists
EventBridge Scheduler CreateSchedule, GetSchedule, UpdateSchedule, DeleteSchedule, ListSchedules, CreateScheduleGroup, GetScheduleGroup, DeleteScheduleGroup, ListScheduleGroups, TagResource, UntagResource, ListTagsForResource 12 actions; schedules fire their targets — a background sweep invokes each enabled schedule's target (Lambda, SQS, SNS, Step Functions) when due, honoring State, StartDate/EndDate, and ActionAfterCompletion: DELETE; schedule groups with cascading deletes; rate(), cron(), at() expressions; group/prefix/state filters on list; default group auto-created; CFN AWS::Scheduler::Schedule and AWS::Scheduler::ScheduleGroup supported
EKS CreateCluster, DescribeCluster, ListClusters, DeleteCluster, CreateNodegroup, DescribeNodegroup, ListNodegroups, DeleteNodegroup, CreateAddon, DescribeAddon, ListAddons, UpdateAddon, DeleteAddon, AssociateEncryptionConfig, CreateAccessEntry, DescribeAccessEntry, ListAccessEntries, UpdateAccessEntry, DeleteAccessEntry, AssociateAccessPolicy, DisassociateAccessPolicy, ListAssociatedAccessPolicies, AssociateIdentityProviderConfig, DescribeIdentityProviderConfig, DisassociateIdentityProviderConfig, ListIdentityProviderConfigs, CreatePodIdentityAssociation, DescribePodIdentityAssociation, ListPodIdentityAssociations, UpdatePodIdentityAssociation, DeletePodIdentityAssociation, TagResource, UntagResource, ListTagsForResource CreateCluster spawns a real k3s container (75 MB) with a full Kubernetes API server; kubectl, Helm, and any K8s tooling work out of the box; cascading delete removes nodegroups and k3s container; addon CRUD (e.g. vpc-cni, coredns, kube-proxy, aws-ebs-csi-driver) at /clusters/{name}/addons flips status to ACTIVE on create / update; AssociateEncryptionConfig at /clusters/{name}/encryption-config/associate records KMS encryption config (rejects re-association, AWS-shape update envelope); Access Entries (modern post-1.29 IAM bindings — replaces aws-auth ConfigMap) at /clusters/{name}/access-entries[/{principalArn}[/access-policies[/{policyArn}]]] for Crossplane / Terraform aws_eks_access_entry + aws_eks_access_policy_association; OIDC discovery + JWKS served at the cluster's identity.oidc.issuer URL so Terraform's aws_iam_openid_connect_provider (IRSA) works against ministack; OIDC Identity Provider Config (AssociateIdentityProviderConfig / DescribeIdentityProviderConfig / DisassociateIdentityProviderConfig / ListIdentityProviderConfigs) at /clusters/{name}/identity-provider-configs[/{verb}] — one OIDC IdP per cluster, issuer + clientId + claims forwarded to the k3s API server via --kube-apiserver-arg=oidc-* flags, tags reachable via ListTagsForResource; CFN AWS::EKS::Cluster and AWS::EKS::Nodegroup supported
OpenSearch Service CreateDomain, DescribeDomain, DescribeDomains, DeleteDomain, ListDomainNames, UpdateDomainConfig, DescribeDomainConfig, DescribeDomainChangeProgress, ListVersions, GetCompatibleVersions, AddTags, ListTags, RemoveTags Management plane on /2021-01-01/* (boto3.client("opensearch"), SigV4 scope es). Default data plane is a stub endpoint (<domain>.ministack.local:9200) — set OPENSEARCH_DATAPLANE=1 to spawn one real opensearchproject/opensearch container per CreateDomain (same pattern as ElastiCache/RDS); DescribeDomain.Endpoint then points at that container and _cluster/health//_search work end-to-end. Add OPENSEARCH_DASHBOARDS=1 (with dataplane on) to also spawn a per-domain opensearch-dashboards sidecar; DescribeDomain.DashboardEndpoint is populated. ARNs follow arn:aws:es:<region>:<account>:domain/<name>; Terraform aws_opensearch_domain resource compatible.
OpenSearch Serverless CreateCollection, BatchGetCollection, ListCollections, UpdateCollection, DeleteCollection, CreateSecurityPolicy, GetSecurityPolicy, UpdateSecurityPolicy, DeleteSecurityPolicy, ListSecurityPolicies, CreateAccessPolicy, GetAccessPolicy, UpdateAccessPolicy, DeleteAccessPolicy, ListAccessPolicies, GetPoliciesStats, TagResource, UntagResource, ListTagsForResource JSON 1.0 control plane (boto3.client("opensearchserverless"), SigV4 scope aoss); Terraform aws_opensearchserverless_collection / _security_policy / _access_policy compatible. CreateCollection requires a matching encryption policy (or encryptionConfig), as AWS does; policies carry policyVersion and updates must name the current one. The collection is CREATING until its data plane is ready, then ACTIVE. collectionEndpoint is http://<collection-id>.<region>.aoss.localhost:<port>, served through the gateway: with OPENSEARCH_DATAPLANE=1 each collection gets an opensearchproject/opensearch container, and requests signed for aoss (with x-amz-content-sha256) are proxied to it. APIs AWS documents as unsupported answer 404 (_refresh, _cluster/*, _cat/nodes, scroll, ...), TIMESERIES collections refuse custom document ids and updates, and the engine's own response — including its own Content-Encoding negotiation — passes through unchanged. Data access and network policies are stored but not enforced.
Organizations DescribeOrganization, ListRoots, ListAccounts, ListAccountsForParent, DescribeAccount, CreateAccount, DescribeCreateAccountStatus, MoveAccount, CloseAccount, CreateOrganizationalUnit, DescribeOrganizationalUnit, DeleteOrganizationalUnit, ListOrganizationalUnitsForParent, ListParents, CreatePolicy, DescribePolicy, UpdatePolicy, DeletePolicy, ListPolicies, AttachPolicy, DetachPolicy, ListPoliciesForTarget, ListTargetsForPolicy, EnablePolicyType, DisablePolicyType, TagResource, UntagResource, ListTagsForResource Single-master-account org auto-initialised on first call; aws_organizations_account, aws_organizations_policy and aws_organizations_policy_attachment apply — CreateAccount answers with a CreateAccountStatus read back through DescribeCreateAccountStatus, the root carries SERVICE_CONTROL_POLICY enabled plus the AWS-managed p-FullAWSAccess, attaching a policy whose type the root has disabled is PolicyTypeNotEnabledException and deleting an attached one is PolicyInUseException; nested OUs with Path field (additive 2026-03 AWS change); the aws_organizations_organizational_unit Read calls ListParents (single parent, ROOT/ORGANIZATIONAL_UNIT, to populate parent_id) and ListTagsForResource on every refresh, so both — plus TagResource/UntagResource — round-trip and a multi-OU hierarchy applies cleanly + idempotently; FeatureSet=ALL
Account GetAccountInformation, GetContactInformation, ListRegions, GetRegionOptStatus rest-json /getAccountInformation, etc.; returns AccountState=ACTIVE (additive 2026-04 AWS change); 31-region opt-in matrix
WAF (Classic + Regional) List* (17 ops), Get*, GetChangeToken, GetChangeTokenStatus, GetPermissionPolicy, Create*/Update*/Delete* (stubbed) Minimal v1 stub — empty lists for all List*, valid ChangeToken on Create/Update/Delete; for full features use wafv2 (also supported)
Signer StartSigningJob, DescribeSigningJob, ListSigningJobs, PutSigningProfile, GetSigningProfile, CancelSigningProfile, AddProfilePermission, ListProfilePermissions, RemoveProfilePermission Signing is synchronous: StartSigningJob validates the source object against the local S3 store and writes the signed object to destination.s3.bucketName at key prefix + jobId before returning, so the job is already Succeeded and a caller whose contract is the signed object at prefix + jobId never polls DescribeSigningJob (.zip is appended for a .zip source on AWSLambda-SHA384-ECDSA, as measured on AWS). On AWSIoTDeviceManagement-SHA256-ECDSA, when ACM holds the private key of the profile's certificate, the signed object is the JSON AWS writes, with an ECDSA SHA-256 signature over the source bytes that the certificate verifies, and an RSA key fails the job; otherwise it is a JSON receipt (source reference + SHA-256 of the source bytes) and a warning is logged where AWS signs with the certificate (imported keys are not persisted, so re-import after a warm boot). A missing source object or destination bucket is ResourceNotFoundException at Start with no job recorded (there is no async pipeline that could fail later); an unknown profileName is ResourceNotFoundException like on AWS, so create profiles with PutSigningProfile first. clientRequestToken replays the first response. source.s3.version is required by the service model, but an absent value (what head_object reports on an unversioned bucket) reads the current object and records the version id S3 holds for it, which is "null" only on a bucket without versioning; a literal "null" reads the stored "null" version when one exists, falling back to the current object. The job carries the profile's signingMaterial, overrides, signingParameters and a signatureExpiresAt from its validity period (default 135 months). ListSigningJobs filters on status, isRevoked, platformId, requestedBy and jobInvoker, and pages: maxResults (1..25) limits the page and a nextToken carries the sort position of the last job, so a paginator reaches every job; without maxResults the whole list comes back in one page
Batch CreateComputeEnvironment, UpdateComputeEnvironment, DescribeComputeEnvironments, CreateJobQueue, DescribeJobQueues, RegisterJobDefinition, DescribeJobDefinitions, SubmitJob, DescribeJobs, ListJobs Control-plane stub — submitted jobs immediately transition to SUCCEEDED; multi-revision job definitions; jobQueue lookup by name or ARN; account-scoped state

Real Database Endpoints (RDS)

When you create an RDS instance, MiniStack starts a real database container and returns the actual connection endpoint:

import boto3
import psycopg2  # pip install psycopg2-binary

rds = boto3.client("rds", endpoint_url="http://localhost:4566",
                   aws_access_key_id="test", aws_secret_access_key="test", region_name="us-east-1")

resp = rds.create_db_instance(
    DBInstanceIdentifier="mydb",
    DBInstanceClass="db.t3.micro",
    Engine="postgres",
    MasterUsername="admin",
    MasterUserPassword="password",
    DBName="appdb",
    AllocatedStorage=20,
)

endpoint = resp["DBInstance"]["Endpoint"]
# Connect directly — it's a real Postgres instance
conn = psycopg2.connect(
    host=endpoint["Address"],   # localhost
    port=endpoint["Port"],      # 15432 (auto-assigned)
    user="admin",
    password="password",
    dbname="appdb",
)

Supported engines: postgres, mysql, mariadb, aurora-postgresql, aurora-mysql

Aurora cluster members share one cluster-owned database container, so SQL, users, and grants created through one member are visible through every member and through both cluster endpoints. The local reader endpoint intentionally resolves to the same read/write database process as the writer; writes sent to the reader are therefore accepted. Emulating an engine-enforced read-only reader would require a separate replicating database process. Deleting the final provisioned member leaves the cluster available but stops its shared container, so direct SQL and the Data API remain unavailable until a new member is created. That first new member restarts the preserved container and data; only DeleteDBCluster removes the container and its storage.


Aurora DSQL

Each CreateCluster returns an ACTIVE cluster with an endpoint. Set DSQL_STRICT=1 to additionally spin up a real postgres:16-alpine container per cluster (capped by a fixed port window off DSQL_BASE_PORT, default 30 ports) behind an in-process Postgres wire-protocol proxy.

The proxy fails like real DSQL: SQL that DSQL rejects fails here too (serial columns, CREATE EXTENSION, TRUNCATE, temp tables, ALTER COLUMN TYPE, SET NOT NULL, materialized views, partitioned tables, ...), index creation is always asynchronous — plain CREATE INDEX is refused (unsupported mode. please use CREATE INDEX ASYNC.), as are CONCURRENTLY and USING — while expression index keys and partial indexes (WHERE predicate) are supported as long as the functions used are immutable (violations fail with 42P17 at submit, same as the backend; INCLUDE columns can't be expressions, the predicate can't hold a subquery), CREATE INDEX ASYNC and ALTER TABLE ASYNC ... VALIDATE CONSTRAINT return a job_id, sys.jobs / sys.wait_for_job are emulated (with the job id written literally or bound as $1; CALL sys.wait_for_job answers DSQL's succeeded column) (data that does not satisfy the constraint fails the job, not the submit — sys.jobs reports

ministack (ministackorg/ministack)

Searching Database…

What is this?MiniStack is a free, open-source local emulator for AWS that lets you run over 60 AWS services on your machine for development and testing.
Is this a library I import, or a standalone service I run?It's a standalone server you run (via Docker), exposing all 60+ AWS services on a single port (4566) that your code talks to using normal AWS SDKs or the CLI.
How do I get it running?Run the Docker image and point your AWS SDK, CLI, or Terraform provider at the exposed endpoint; no account or API key is needed.
Do I need Docker, or can I just run the Python code directly?The project ships as a Docker image (with docker-compose support) and is built in Python, so Docker is the expected way to run it.
Are all AWS services fully isolated and region-aware?Most regional services got per-region state isolation by version 1.5.3, but S3 and Aurora DSQL still share state across regions within an account, so you need unique resource names there if testing multiple regions.
Why was MiniStack created instead of just using LocalStack?LocalStack moved its core services behind a paid plan, so MiniStack was built as a free, MIT-licensed alternative for local development and CI/CD pipelines.
Does it use real databases instead of mocks?Yes — RDS spins up actual Postgres/MySQL containers, ElastiCache uses real Redis/Valkey, Athena runs real SQL via DuckDB, and ECS runs real Docker containers.
Can multiple developers or CI jobs share one MiniStack instance safely?Yes, through built-in multi-tenancy: a 12-digit AWS access key automatically becomes the account ID, fully isolating resources and state per account and per region with no extra setup.
Can I run local LLMs through the Bedrock API?Yes — pointing MINISTACK_BEDROCK_PROXY_URL at Ollama, llama.cpp, or vLLM lets you get real completions through MiniStack's AWS-exact Bedrock wire shapes.
Size
25.6 MB
Stars
5.2K
Age
8mo
Commits · 90 Days