AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

User

An IAM user with optional login profile and access keys

Import

import { User } from 'aws-cdk-lib/aws-iam';

Or use the module namespace:

import * as iam from 'aws-cdk-lib/aws-iam';
// iam.User

Underlying CloudFormation Resources

This L2 construct creates and manages the following CloudFormation resources.

Get the AWS IAM Cheat Sheet

Everything you need to know about AWS IAM on one page. HD quality, print-friendly.

Download Free Infographic