import * as core from "@terrascript/core"; export interface UserProfileArgs extends core.ResourceArgs { /** * (Optional) Whether users can specify their own SSH public key through the My Settings page */ allowSelfManagement?: boolean | core.BooleanOut; /** * (Optional) The users public key */ sshPublicKey?: string | core.StringOut; /** * (Required) The ssh username, with witch this user wants to log in */ sshUsername: string | core.StringOut; /** * (Required) The user's IAM ARN */ userArn: string | core.StringOut; } export class UserProfile extends core.Resource { /** * (Optional) Whether users can specify their own SSH public key through the My Settings page */ @core.attr(Boolean) public allowSelfManagement?: boolean | core.BooleanOut; /** * Same value as `user_arn` */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The users public key */ @core.attr(String) public sshPublicKey?: string | core.StringOut; /** * (Required) The ssh username, with witch this user wants to log in */ @core.attr(String) public sshUsername!: string | core.StringOut; /** * (Required) The user's IAM ARN */ @core.attr(String) public userArn!: string | core.StringOut; constructor(name: string, args?: UserProfileArgs) { super(name, "aws_opsworks_user_profile", args); } public override getNamespace(): string { return "aws_opsworks"; } }