RDS
RDS — spins up real Postgres/MySQL/MariaDB/Aurora containers. Control-plane is emulated; data-plane is a real database.
Quick start
import boto3
rds = boto3.client("rds", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
rds.create_db_instance(DBInstanceIdentifier="db",
Engine="postgres", EngineVersion="15",
MasterUsername="admin", MasterUserPassword="pw123456",
DBInstanceClass="db.t3.micro", AllocatedStorage=20)
Supported operations
52 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.
AddTagsToResource
CreateDBCluster
CreateDBClusterParameterGroup
CreateDBClusterSnapshot
CreateDBInstance
CreateDBInstanceReadReplica
CreateDBParameterGroup
CreateDBSnapshot
CreateDBSubnetGroup
CreateGlobalCluster
CreateOptionGroup
DeleteDBCluster
DeleteDBClusterParameterGroup
DeleteDBClusterSnapshot
DeleteDBInstance
DeleteDBParameterGroup
DeleteDBSnapshot
DeleteDBSubnetGroup
DeleteGlobalCluster
DeleteOptionGroup
DescribeDBClusterParameterGroups
DescribeDBClusterParameters
DescribeDBClusters
DescribeDBClusterSnapshots
DescribeDBEngineVersions
DescribeDBInstances
DescribeDBParameterGroups
DescribeDBParameters
DescribeDBSnapshots
DescribeDBSubnetGroups
DescribeGlobalClusters
DescribeOptionGroupOptions
DescribeOptionGroups
DescribeOrderableDBInstanceOptions
EnableHttpEndpoint
ListTagsForResource
ModifyDBCluster
ModifyDBClusterParameterGroup
ModifyDBInstance
ModifyDBParameterGroup
ModifyDBSubnetGroup
ModifyGlobalCluster
RebootDBInstance
RemoveFromGlobalCluster
RemoveTagsFromResource
ResetDBClusterParameterGroup
ResetDBParameterGroup
RestoreDBInstanceFromDBSnapshot
StartDBCluster
StartDBInstance
StopDBCluster
StopDBInstance
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::RDS::DBCluster
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- Event subscriptions are stored but not wired to SNS.
- Backup/restore APIs return success but the underlying snapshots aren't actual Postgres/MySQL dumps.
- Host port is allocated starting at RDS_BASE_PORT (default 15432).
Source
ministack/services/rds.py:2641-2701
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.