import * as core from "@terrascript/core"; export interface SshKeyArgs extends core.ResourceArgs { /** * (Requirement) The public key portion of an SSH key pair. */ body: string | core.StringOut; /** * (Requirement) The Server ID of the Transfer Server (e.g., `s-12345678`) */ serverId: string | core.StringOut; /** * (Requirement) The name of the user account that is assigned to one or more servers. */ userName: string | core.StringOut; } export class SshKey extends core.Resource { /** * (Requirement) The public key portion of an SSH key pair. */ @core.attr(String) public body!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Requirement) The Server ID of the Transfer Server (e.g., `s-12345678`) */ @core.attr(String) public serverId!: string | core.StringOut; /** * (Requirement) The name of the user account that is assigned to one or more servers. */ @core.attr(String) public userName!: string | core.StringOut; constructor(name: string, args?: SshKeyArgs) { super(name, "aws_transfer_ssh_key", args); } public override getNamespace(): string { return "aws_transfer"; } }