UserAttributes

class aws_cdk.aws_iam.UserAttributes(*, user_arn)

Bases: object

Represents a user defined outside of this stack.

Parameters:

user_arn (str) – The ARN of the user. Format: arn::iam:::user/

ExampleMetadata:

infused

Example:

user = iam.User.from_user_attributes(self, "MyImportedUserByAttributes",
    user_arn="arn:aws:iam::123456789012:user/johnsmith"
)

Attributes

user_arn

The ARN of the user.

Format: arn::iam:::user/