Skip to content

InfluxDBUserProps

Properties for defining a InfluxDBUser.

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

Initializer

import { InfluxDBUserProps } from '@alicloud/ros-cdk-tsdb'
const influxDBUserProps: InfluxDBUserProps = { ... }

Properties

Name Type Description
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of TSDB for InfluxDB.
password string | @alicloud/ros-cdk-core.IResolvable Property password: The password must be 8 to 32 characters in length and contain letters, digits, and special characters.!@#$%^&*()_+-=.
userName string | @alicloud/ros-cdk-core.IResolvable Property userName: The name of user.
userType string | @alicloud/ros-cdk-core.IResolvable Property userType: The type of user.
databasePermissions @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | DatabasePermissionsProperty[] Property databasePermissions: The list of databases that the user can access.

instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The ID of TSDB for InfluxDB.


passwordRequired

public readonly password: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


userNameRequired

public readonly userName: string | IResolvable;
  • Type: string | @alicloud/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.


userTypeRequired

public readonly userType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property userType: The type of user.

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


databasePermissionsOptional

public readonly databasePermissions: IResolvable | IResolvable | DatabasePermissionsProperty[];

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

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