Skip to content

AccountProps

Properties for defining a Account.

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

Initializer

import ros_cdk_gpdb
ros_cdk_gpdb.AccountProps(
  account_name: typing.Union[str, IResolvable],
  account_password: typing.Union[str, IResolvable],
  db_instance_id: typing.Union[str, IResolvable],
  account_description: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
account_name typing.Union[str, ros_cdk_core.IResolvable] Property accountName: The name of the privileged account.
account_password typing.Union[str, ros_cdk_core.IResolvable] Property accountPassword: The password of the privileged account.
db_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property dbInstanceId: The ID of the instance.
account_description typing.Union[str, ros_cdk_core.IResolvable] Property accountDescription: The description of the privileged account.

account_nameRequired

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

Property accountName: The name of the privileged account.

The name can contain lowercase letters, digits, and underscores (_). The name must start with a lowercase letter and end with a lowercase letter or a digit. The name cannot start with gp. The name must be 2 to 16 characters in length.


account_passwordRequired

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

Property accountPassword: The password of the privileged account.

The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - = The password must be 8 to 32 characters in length.


db_instance_idRequired

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

Property dbInstanceId: The ID of the instance.

Note You can call the DescribeDBInstances operation to query details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.


account_descriptionOptional

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

Property accountDescription: The description of the privileged account.