Instead of creating the necessary aws resources using the Aws Console, I wanted to use the new AWS CDK libraries: in this way the aws resources can be created and deleted using Python.
“The AWS Cloud Development Kit (AWS CDK) is an open source software development framework to model and provision your cloud application resources using familiar programming languages.
Provisioning cloud applications can be a challenging process that requires you to perform manual actions, write custom scripts, maintain templates, or learn domain-specific languages. AWS CDK uses the familiarity and expressive power of programming languages for modeling your applications. " [source aws-cdk]
As suggested by https://docs.aws.amazon.com/cdk/latest/guide/getting_started.html I installed the required software and then I ran
cdk init --language python
python3 -m venv .env
# now I added the code you can see at
pip install -r requirements.txt
You can see my sample code at https://gitlab.com/matteo.redaelli/rds-start-stop-cdk