Class UserAttributes
Represents a user defined outside of this stack.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class UserAttributes : IUserAttributes
Syntax (vb)
Public Class UserAttributes Implements IUserAttributes
Remarks
ExampleMetadata: infused
Examples
var user = User.FromUserAttributes(this, "MyImportedUserByAttributes", new UserAttributes {
UserArn = "arn:aws:iam::123456789012:user/johnsmith"
});
Synopsis
Constructors
| UserAttributes() | Represents a user defined outside of this stack. |
Properties
| UserArn | The ARN of the user. |
Constructors
UserAttributes()
Represents a user defined outside of this stack.
public UserAttributes()
Remarks
ExampleMetadata: infused
Examples
var user = User.FromUserAttributes(this, "MyImportedUserByAttributes", new UserAttributes {
UserArn = "arn:aws:iam::123456789012:user/johnsmith"
});
Properties
UserArn
The ARN of the user.
public string UserArn { get; set; }
Property Value
Remarks
Format: arn:<partition>:iam::<account-id>:user/<user-name-with-path>