Skip to content
v2.274.0

UserAttributes Struct ​

Represents a user defined outside of this stack.

Example ​

ts
const user = iam.User.fromUserAttributes(this, 'MyImportedUserByAttributes', {
  userArn: 'arn:aws:iam::123456789012:user/johnsmith',
});

Properties ​

userArnstringuser_arnstruserArnStringUserArnstringUserArn*stringrequired#
The ARN of the user.

Format: arn:<partition>:iam::<account-id>:user/<user-name-with-path>