import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface KeyPairConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair#id KeyPair#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * The key pair's name. It is the only in one TencentCloud account. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair#key_name KeyPair#key_name} */ readonly keyName: string; /** * Specifys to which project the key pair belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair#project_id KeyPair#project_id} */ readonly projectId?: number; /** * You can import an existing public key and using TencentCloud key pair to manage it. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair#public_key KeyPair#public_key} */ readonly publicKey?: string; /** * Tags of the key pair. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair#tags KeyPair#tags} */ readonly tags?: { [key: string]: string; }; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair tencentcloud_key_pair} */ export declare class KeyPair extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_key_pair"; /** * Generates CDKTF code for importing a KeyPair resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the KeyPair to import * @param importFromId The id of the existing KeyPair that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the KeyPair to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/key_pair tencentcloud_key_pair} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options KeyPairConfig */ constructor(scope: Construct, id: string, config: KeyPairConfig); get createdTime(): any; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _keyName?; get keyName(): string; set keyName(value: string); get keyNameInput(): string; get privateKey(): any; private _projectId?; get projectId(): number; set projectId(value: number); resetProjectId(): void; get projectIdInput(): number; private _publicKey?; get publicKey(): string; set publicKey(value: string); resetPublicKey(): void; get publicKeyInput(): string; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; }; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }