import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SsmSshKeyPairSecretConfig extends cdktf.TerraformMetaArguments { /** * Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only take effect when delete SSH key secrets. Valid values: `True`: deletes SSH key from both the secret and SSH key list in the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.`False`: only deletes the SSH key information in the secret. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#clean_ssh_key SsmSshKeyPairSecret#clean_ssh_key} */ readonly cleanSshKey?: boolean | cdktf.IResolvable; /** * Description, such as what it is used for. It contains up to 2,048 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#description SsmSshKeyPairSecret#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#id SsmSshKeyPairSecret#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; /** * Specifies a KMS CMK to encrypt the secret.If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.You can also specify a custom KMS CMK created in the same region for encryption. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#kms_key_id SsmSshKeyPairSecret#kms_key_id} */ readonly kmsKeyId?: string; /** * ID of the project to which the created SSH key belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#project_id SsmSshKeyPairSecret#project_id} */ readonly projectId: number; /** * Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and underscores and must begin with a letter or digit. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#secret_name SsmSshKeyPairSecret#secret_name} */ readonly secretName: string; /** * Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The maximum length is 25 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#ssh_key_name SsmSshKeyPairSecret#ssh_key_name} */ readonly sshKeyName?: string; /** * Enable or Disable Secret. Valid values is `Enabled` or `Disabled`. Default is `Enabled`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#status SsmSshKeyPairSecret#status} */ readonly status?: string; /** * Tags of secret. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#tags SsmSshKeyPairSecret#tags} */ readonly tags?: { [key: string]: string; }; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret tencentcloud_ssm_ssh_key_pair_secret} */ export declare class SsmSshKeyPairSecret extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_ssm_ssh_key_pair_secret"; /** * Generates CDKTF code for importing a SsmSshKeyPairSecret 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 SsmSshKeyPairSecret to import * @param importFromId The id of the existing SsmSshKeyPairSecret that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_ssh_key_pair_secret#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SsmSshKeyPairSecret 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/ssm_ssh_key_pair_secret tencentcloud_ssm_ssh_key_pair_secret} 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 SsmSshKeyPairSecretConfig */ constructor(scope: Construct, id: string, config: SsmSshKeyPairSecretConfig); private _cleanSshKey?; get cleanSshKey(): boolean | cdktf.IResolvable; set cleanSshKey(value: boolean | cdktf.IResolvable); resetCleanSshKey(): void; get cleanSshKeyInput(): any; get createTime(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _kmsKeyId?; get kmsKeyId(): string; set kmsKeyId(value: string); resetKmsKeyId(): void; get kmsKeyIdInput(): string; private _projectId?; get projectId(): number; set projectId(value: number); get projectIdInput(): number; private _secretName?; get secretName(): string; set secretName(value: string); get secretNameInput(): string; get secretType(): any; private _sshKeyName?; get sshKeyName(): string; set sshKeyName(value: string); resetSshKeyName(): void; get sshKeyNameInput(): string; private _status?; get status(): string; set status(value: string); resetStatus(): void; get statusInput(): 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; }; }