import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SsmSecretConfig extends cdktf.TerraformMetaArguments { /** * Additional config for specific secret types in JSON string format. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#additional_config SsmSecret#additional_config} */ readonly additionalConfig?: string; /** * Description of secret. The maximum is 2048 bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#description SsmSecret#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#id SsmSecret#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; /** * Specify whether to enable secret. Default value is `true`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#is_enabled SsmSecret#is_enabled} */ readonly isEnabled?: boolean | cdktf.IResolvable; /** * KMS keyId used to encrypt secret. If it is empty, it means that the CMK created by SSM for you by default is used for encryption. You can also specify the KMS CMK created by yourself in the same region for encryption. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#kms_key_id SsmSecret#kms_key_id} */ readonly kmsKeyId?: string; /** * Specify the scheduled deletion date. Default value is `0` that means to delete immediately. 1-30 means the number of days reserved, completely deleted after this date. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#recovery_window_in_days SsmSecret#recovery_window_in_days} */ readonly recoveryWindowInDays?: number; /** * Name of secret which cannot be repeated in the same region. The maximum length is 128 bytes. The name can only contain English letters, numbers, underscore and hyphen '-'. The first character must be a letter or number. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#secret_name SsmSecret#secret_name} */ readonly secretName: string; /** * Type of secret. `0`: user-defined secret. `4`: redis secret. Default is `0`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#secret_type SsmSecret#secret_type} */ readonly secretType?: number; /** * Tags of secret. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#tags SsmSecret#tags} */ readonly tags?: { [key: string]: string; }; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret tencentcloud_ssm_secret} */ export declare class SsmSecret extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_ssm_secret"; /** * Generates CDKTF code for importing a SsmSecret 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 SsmSecret to import * @param importFromId The id of the existing SsmSecret that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/ssm_secret#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SsmSecret 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_secret tencentcloud_ssm_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 SsmSecretConfig */ constructor(scope: Construct, id: string, config: SsmSecretConfig); private _additionalConfig?; get additionalConfig(): string; set additionalConfig(value: string); resetAdditionalConfig(): void; get additionalConfigInput(): string; 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 _isEnabled?; get isEnabled(): boolean | cdktf.IResolvable; set isEnabled(value: boolean | cdktf.IResolvable); resetIsEnabled(): void; get isEnabledInput(): any; private _kmsKeyId?; get kmsKeyId(): string; set kmsKeyId(value: string); resetKmsKeyId(): void; get kmsKeyIdInput(): string; private _recoveryWindowInDays?; get recoveryWindowInDays(): number; set recoveryWindowInDays(value: number); resetRecoveryWindowInDays(): void; get recoveryWindowInDaysInput(): number; private _secretName?; get secretName(): string; set secretName(value: string); get secretNameInput(): string; private _secretType?; get secretType(): number; set secretType(value: number); resetSecretType(): void; get secretTypeInput(): number; get status(): any; 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; }; }