Skip to content

UserProps

Properties for defining a User.

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

Initializer

import com.aliyun.ros.cdk.ram.datasource.UserProps;
UserProps.builder()
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .userId(java.lang.String)
//  .userId(IResolvable)
//  .userName(java.lang.String)
//  .userName(IResolvable)
    .build();

Properties

Name Type Description
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
userId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userId: RAM user ID.
userName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userName: RAM user name.

refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getUserId();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getUserName();
  • Type: java.lang.String OR com.aliyun.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.