Skip to content

UserProps

Properties for defining a User.

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

Initializer

from ros_cdk_ram import datasource
datasource.UserProps(
  refresh_options: typing.Union[str, IResolvable] = None,
  user_id: typing.Union[str, IResolvable] = None,
  user_name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
user_id typing.Union[str, ros_cdk_core.IResolvable] Property userId: RAM user ID.
user_name typing.Union[str, ros_cdk_core.IResolvable] Property userName: RAM user name.

refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.

user_idOptional

user_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


user_nameOptional

user_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.