AWS::IAM::UserCreates a new IAM user for your AWS-account. For information about quotas for the number of IAM users you can create, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
8 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Groups | Array<string> | |
LoginProfile | LoginProfile | |
ManagedPolicyArns | Array<string> | |
Path | string | |
PermissionsBoundary | string | |
Policies | Array<Policy> | |
Tags | Array<Tag> | |
UserName | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IAM::User
Resources:
MyResource:
Type: AWS::IAM::User
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:CreateLoginProfileiam:AddUserToGroupiam:PutUserPolicyiam:AttachUserPolicyiam:CreateUseriam:GetUseriam:TagUseriam:GetUserPolicyiam:ListGroupsForUseriam:ListAttachedUserPoliciesiam:ListUserPoliciesiam:GetUseriam:GetLoginProfileiam:UpdateLoginProfileiam:UpdateUseriam:PutUserPermissionsBoundaryiam:AttachUserPolicyiam:DeleteUserPolicyiam:DeleteUserPermissionsBoundaryiam:TagUseriam:UntagUseriam:DeleteAccessKeyiam:RemoveUserFromGroupiam:DeleteUserPolicyiam:DeleteUseriam:DetachUserPolicyiam:DeleteLoginProfileiam:ListAccessKeysiam:GetUserPolicyiam:listUsersEverything you need to know about IAM on one page. HD quality, print-friendly.
Download Free InfographicUserNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
UserName