import * as core from "@terrascript/core"; export interface DsUserSshKeyArgs { /** * (Required) Specifies the public key encoding format to use in the response. To retrieve the public k * ey in ssh-rsa format, use `SSH`. To retrieve the public key in PEM format, use `PEM`. */ encoding: string | core.StringOut; /** * (Required) The unique identifier for the SSH public key. */ sshPublicKeyId: string | core.StringOut; /** * (Required) The name of the IAM user associated with the SSH public key. */ username: string | core.StringOut; } export class DsUserSshKey extends core.Data { /** * (Required) Specifies the public key encoding format to use in the response. To retrieve the public k * ey in ssh-rsa format, use `SSH`. To retrieve the public key in PEM format, use `PEM`. */ @core.attr(String) public encoding!: string | core.StringOut; /** * The MD5 message digest of the SSH public key. */ @core.attr(String, { computed: true }) public fingerprint!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The SSH public key. */ @core.attr(String, { computed: true }) public publicKey!: string | core.StringOut; /** * (Required) The unique identifier for the SSH public key. */ @core.attr(String) public sshPublicKeyId!: string | core.StringOut; /** * The status of the SSH public key. Active means that the key can be used for authentication with an C * odeCommit repository. Inactive means that the key cannot be used. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Required) The name of the IAM user associated with the SSH public key. */ @core.attr(String) public username!: string | core.StringOut; constructor(name: string, args?: DsUserSshKeyArgs) { super(name, "aws_iam_user_ssh_key", args); } public override getNamespace(): string { return "aws_iam"; } }