aws_console_url
allow you to generate AWS console URL programmatically using AWS Resource Namespace (ARN) or aws resource id (like ec2 instance id, rds identifier, iam role name etc ...). For quick start, you can check this Jupyter Notebook. Also, you can find the full list of public api in Public API Full List
aws_console_url
is released on PyPI, so all you need is:
$ pip install aws_console_url
To upgrade to latest version:
$ pip install --upgrade aws_console_url