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. |
UserName
Required
UserName interface{}
- Type: interface{}
Property userName: Specifies the user name, containing up to 64 characters.
Comments
Optional
Comments interface{}
- Type: interface{}
Property comments: Comments of ram user.
DeletionForce
Optional
DeletionForce interface{}
- Type: interface{}
Property deletionForce: Whether force detach the policies and groups attached to the user.
Default value is false.
DisplayName
Optional
DisplayName interface{}
- Type: interface{}
Property displayName: Display name, up to 128 characters or Chinese characters.
Email
Optional
Email interface{}
- Type: interface{}
Property email: Email of ram user.
Groups
Optional
Groups interface{}
- Type: interface{}
Property groups: A name of a group to which you want to add the user.
LoginProfile
Optional
LoginProfile interface{}
- Type: interface{}
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.
MobilePhone
Optional
MobilePhone interface{}
- Type: interface{}
Property mobilePhone: Phone number of ram user.
Policies
Optional
Policies interface{}
- Type: interface{}
Property policies: Describes what actions are allowed on what resources.
PolicyAttachments
Optional
PolicyAttachments interface{}
- Type: interface{}
Property policyAttachments: System and custom policy names to attach.