Creates a new IAM user for your Amazon Web Services account.
For information about quotas for the number of IAM users you can create, see IAM and STS quotas in the IAM User Guide.
Use a bare-bones client and the command you need to make an API call.
import { IAMClient, CreateUserCommand } from "@aws-sdk/client-iam"; // ES Modules import // const { IAMClient, CreateUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import const client = new IAMClient(config); const command = new CreateUserCommand(input); const response = await client.send(command);
CreateUserCommandInput for command's input shape.
input
CreateUserCommandOutput for command's response shape.
response
config for IAMClient's config shape.
config
Creates a new IAM user for your Amazon Web Services account.
For information about quotas for the number of IAM users you can create, see IAM and STS quotas in the IAM User Guide.
Use a bare-bones client and the command you need to make an API call.
import { IAMClient, CreateUserCommand } from "@aws-sdk/client-iam"; // ES Modules import // const { IAMClient, CreateUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import const client = new IAMClient(config); const command = new CreateUserCommand(input); const response = await client.send(command);
CreateUserCommandInput for command's
input
shape.CreateUserCommandOutput for command's
response
shape.config for IAMClient's
config
shape.