interface UserAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IAM.UserAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiam#UserAttributes |
![]() | software.amazon.awscdk.services.iam.UserAttributes |
![]() | aws_cdk.aws_iam.UserAttributes |
![]() | aws-cdk-lib » aws_iam » UserAttributes |
Represents a user defined outside of this stack.
Example
const user = iam.User.fromUserAttributes(this, 'MyImportedUserByAttributes', {
userArn: 'arn:aws:iam::123456789012:user/johnsmith',
});
Properties
Name | Type | Description |
---|---|---|
user | string | The ARN of the user. |
userArn
Type:
string
The ARN of the user.
Format: arn:<partition>:iam::<account-id>:user/<user-name-with-path>