Skip to content

ClusterCredentials

Source code in docs_src/capo_redshift/types/cluster_credentials.py
class ClusterCredentials(TypedDict, closed=True):
    db_user: NotRequired["capo_redshift.types.string.String"]
    """<p>A database user name that is authorized to log on to the database <code>DbName</code> using the password <code>DbPassword</code>. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the <code>DbGroups</code> parameter is specifed, <code>DbUser</code> is added to the listed groups for any sessions created using these credentials.</p>"""
    db_password: NotRequired["capo_redshift.types.sensitive_string.SensitiveString"]
    """<p>A temporary password that authorizes the user name returned by <code>DbUser</code> to log on to the database <code>DbName</code>. </p>"""
    expiration: NotRequired["capo_redshift.types.t_stamp.TStamp"]
    """<p>The date and time the password in <code>DbPassword</code> expires.</p>"""

db_password instance-attribute

db_password: NotRequired[SensitiveString]

A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

db_user instance-attribute

db_user: NotRequired[String]

A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups parameter is specifed, DbUser is added to the listed groups for any sessions created using these credentials.

expiration instance-attribute

expiration: NotRequired[TStamp]

The date and time the password in DbPassword expires.