Skip to content

UserProps

Properties for defining a User.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ram-user

Initializer

import { datasource } from '@alicloud/ros-cdk-ram'
const userProps: datasource.UserProps = { ... }

Properties

Name Type Description
refreshOptions string | @alicloud/ros-cdk-core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
userId string | @alicloud/ros-cdk-core.IResolvable Property userId: RAM user ID.
userName string | @alicloud/ros-cdk-core.IResolvable Property userName: RAM user name.

refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.


userIdOptional

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

Property userId: RAM user ID.

At most one UserName and UserId can be specified; if both are specified, UserName will be used. If neither is specified, the current user ID will be used.


userNameOptional

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

Property userName: RAM user name.

At most one UserName and UserId can be specified; if both are specified, UserName will be used. If neither is specified, the current user ID will be used.