Table of Contents

Class UserAttributes

Namespace
Amazon.CDK.AWS.IAM
Assembly
Amazon.CDK.AWS.IAM.dll

Represents a user defined outside of this stack.

public class UserAttributes : IUserAttributes
Inheritance
UserAttributes
Implements
Inherited Members

Examples

var user = User.FromUserAttributes(this, "MyImportedUserByAttributes", new UserAttributes {
                UserArn = "arn:aws:iam::123456789012:user/johnsmith"
            });

Remarks

ExampleMetadata: infused

Constructors

UserAttributes()

public UserAttributes()

Properties

UserArn

The ARN of the user.

public string UserArn { get; set; }

Property Value

string

Remarks

Format: arn::iam:::user/