IntegrationsAwsActions
Create IAM user
Create an IAM user with a required permissions boundary and optional path/tags. Never creates a password or access key. Requires iam:CreateUser and iam:TagUser. Unsafe because CreateUser is not replay-idempotent.
iam.users.create · AWS · v1
Details
Scopes
iam:CreateUseriam:TagUser
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
user_name | string | Yes | minLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$ |
permissions_boundary_arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
path | string | No | minLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$ |
tags | array<object> | No | maxItems 50 |
tags[] | object | Yes | additionalProperties false |
tags[].key | string | Yes | minLength 1; maxLength 128 |
tags[].value | string | Yes | maxLength 256 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
user | object | Yes | additionalProperties false |
user.name | string | Yes | minLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$ |
user.id | string | Yes | minLength 1; maxLength 128 |
user.arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
user.path | string | Yes | minLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$ |
user.created_at | string | Yes | minLength 1; maxLength 64 |
user.password_last_used_at | string | No | minLength 1; maxLength 64 |
user.permissions_boundary_arn | string | No | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
user.tags | array<object> | No | maxItems 50 |
user.tags[] | object | Yes | additionalProperties false |
user.tags[].key | string | Yes | minLength 1; maxLength 128 |
user.tags[].value | string | Yes | maxLength 256 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"user_name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9_+=,.@-]+$"
},
"permissions_boundary_arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^/$|^/[\\x21-\\x7e]+/$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"value": {
"type": "string",
"maxLength": 256
}
},
"required": [
"key",
"value"
]
},
"maxItems": 50
}
},
"required": [
"user_name",
"permissions_boundary_arn"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"user": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9_+=,.@-]+$"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^/$|^/[\\x21-\\x7e]+/$"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"password_last_used_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"permissions_boundary_arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"value": {
"type": "string",
"maxLength": 256
}
},
"required": [
"key",
"value"
]
},
"maxItems": 50
}
},
"required": [
"name",
"id",
"arn",
"path",
"created_at"
]
}
},
"required": [
"user"
]
}