create_user_profile
(**kwargs)¶Creates a new user profile.
Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
See also: AWS API Documentation
Request Syntax
response = client.create_user_profile(
IamUserArn='string',
SshUsername='string',
SshPublicKey='string',
AllowSelfManagement=True|False
)
[REQUIRED]
The user's IAM ARN; this can also be a federated user's ARN.
my.name
will be changed to myname
. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.dict
Response Syntax
{
'IamUserArn': 'string'
}
Response Structure
(dict) --
Contains the response to a CreateUserProfile
request.
IamUserArn (string) --
The user's IAM ARN.
Exceptions
OpsWorks.Client.exceptions.ValidationException