Show / Hide Table of Contents

Class UserAttributes

Represents a user defined outside of this stack.

Inheritance
object
UserAttributes
Implements
IUserAttributes
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

string

Remarks

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

Implements

IUserAttributes
Back to top Generated by DocFX