UserProps
Properties for defining a User.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-user
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram"
&alicloudroscdkram.UserProps {
UserName: interface{},
Comments: interface{},
DeletionForce: interface{},
DisplayName: interface{},
Email: interface{},
Groups: interface{},
LoginProfile: interface{},
MobilePhone: interface{},
Policies: interface{},
PolicyAttachments: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
UserName |
interface{} |
Property userName: Specifies the user name, containing up to 64 characters. |
Comments |
interface{} |
Property comments: Comments of ram user. |
DeletionForce |
interface{} |
Property deletionForce: Whether force detach the policies and groups attached to the user. |
DisplayName |
interface{} |
Property displayName: Display name, up to 128 characters or Chinese characters. |
Email |
interface{} |
Property email: Email of ram user. |
Groups |
interface{} |
Property groups: A name of a group to which you want to add the user. |
LoginProfile |
interface{} |
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console. |
MobilePhone |
interface{} |
Property mobilePhone: Phone number of ram user. |
Policies |
interface{} |
Property policies: Describes what actions are allowed on what resources. |
PolicyAttachments |
interface{} |
Property policyAttachments: System and custom policy names to attach. |
UserNameRequired
UserName interface{}
- Type: interface{}
Property userName: Specifies the user name, containing up to 64 characters.
CommentsOptional
Comments interface{}
- Type: interface{}
Property comments: Comments of ram user.
DeletionForceOptional
DeletionForce interface{}
- Type: interface{}
Property deletionForce: Whether force detach the policies and groups attached to the user.
Default value is false.
DisplayNameOptional
DisplayName interface{}
- Type: interface{}
Property displayName: Display name, up to 128 characters or Chinese characters.
EmailOptional
Email interface{}
- Type: interface{}
Property email: Email of ram user.
GroupsOptional
Groups interface{}
- Type: interface{}
Property groups: A name of a group to which you want to add the user.
LoginProfileOptional
LoginProfile interface{}
- Type: interface{}
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.
MobilePhoneOptional
MobilePhone interface{}
- Type: interface{}
Property mobilePhone: Phone number of ram user.
PoliciesOptional
Policies interface{}
- Type: interface{}
Property policies: Describes what actions are allowed on what resources.
PolicyAttachmentsOptional
PolicyAttachments interface{}
- Type: interface{}
Property policyAttachments: System and custom policy names to attach.