Skip to content

AccountProps

Properties for defining a Account.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-drds-account

Initializer

import ros_cdk_drds
ros_cdk_drds.AccountProps(
  db_privileges: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DbPrivilegesProperty]]],
  drds_account_name: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  password: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
db_privileges typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DbPrivilegesProperty]]] Property dbPrivileges: Database permission information.
drds_account_name typing.Union[str, ros_cdk_core.IResolvable] Property drdsAccountName: The name of the account.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the instance.
password typing.Union[str, ros_cdk_core.IResolvable] Property password: The password of the account.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Account remarks.

db_privilegesRequired

db_privileges: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DbPrivilegesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DbPrivilegesProperty]]]

Property dbPrivileges: Database permission information.


drds_account_nameRequired

drds_account_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property drdsAccountName: The name of the account.


instance_idRequired

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceId: The ID of the instance.


passwordRequired

password: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property password: The password of the account.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: Account remarks.

The default value of the advanced account is Created by DRDS, and the normal account does not have any comments. Remarks can be customized in account management.