Skip to content

UserProps

Properties for defining a User.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram/datasource"
&datasource.UserProps {
    RefreshOptions: interface{},
    UserId: interface{},
    UserName: interface{},
}

Properties

Name Type Description
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
UserId interface{} Property userId: RAM user ID.
UserName interface{} Property userName: RAM user name.

RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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

UserId interface{}
  • Type: interface{}

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

UserName interface{}
  • Type: interface{}

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.