assembl.lib.rds_token_url module

class assembl.lib.rds_token_url.IamRoleRdsTokenUrl(drivername, iam_role, region=None, username=None, host=None, port=None, database=None, query=None, session_name=None)[source]

Bases: assembl.lib.rds_token_url.RdsTokenUrl

Assume a specific role before you get the client. AWS bug: you have to assume your own role to connect.

class assembl.lib.rds_token_url.RdsTokenUrl(drivername, region=None, username=None, host=None, session_name=None, port=None, database=None, query=None)[source]

Bases: sqlalchemy.engine.url.URL

An URL that uses IAM connection tokens as passwords