Skip to content

InfluxDBUserProps

Properties for defining a InfluxDBUser.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-tsdb-influxdbuser

Initializer

import ros_cdk_tsdb
ros_cdk_tsdb.InfluxDBUserProps(
  instance_id: typing.Union[str, IResolvable],
  password: typing.Union[str, IResolvable],
  user_name: typing.Union[str, IResolvable],
  user_type: typing.Union[str, IResolvable],
  database_permissions: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DatabasePermissionsProperty]]] = None
)

Properties

Name Type Description
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of TSDB for InfluxDB.
password typing.Union[str, ros_cdk_core.IResolvable] Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.
user_name typing.Union[str, ros_cdk_core.IResolvable] Property userName: The name of user.
user_type typing.Union[str, ros_cdk_core.IResolvable] Property userType: The type of user.
database_permissions typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DatabasePermissionsProperty]]] Property databasePermissions: The list of databases that the user can access.

instance_idRequired

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

Property instanceId: The ID of TSDB for InfluxDB.


passwordRequired

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

Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.


user_nameRequired

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

Property userName: The name of user.

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


user_typeRequired

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

Property userType: The type of user.

Valid values: normal: normal user admin: administrator user.


database_permissionsOptional

database_permissions: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DatabasePermissionsProperty]]]

Property databasePermissions: The list of databases that the user can access.

If the user type is admin, do not specify this parameter.