import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PostgresqlParameterTemplateConfig extends cdktf.TerraformMetaArguments { /** * Database engine, such as postgresql, mssql_compatible. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#db_engine PostgresqlParameterTemplate#db_engine} */ readonly dbEngine: string; /** * The major database version number, such as 11, 12, 13. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#db_major_version PostgresqlParameterTemplate#db_major_version} */ readonly dbMajorVersion: string; /** * The set of parameters that need to be deleted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#delete_param_set PostgresqlParameterTemplate#delete_param_set} */ readonly deleteParamSet?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#id PostgresqlParameterTemplate#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; /** * Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()+=:@). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#template_description PostgresqlParameterTemplate#template_description} */ readonly templateDescription?: string; /** * Template name, which can contain 1-60 letters, digits, and symbols (-_./()+=:@). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#template_name PostgresqlParameterTemplate#template_name} */ readonly templateName: string; /** * modify_param_entry_set block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#modify_param_entry_set PostgresqlParameterTemplate#modify_param_entry_set} */ readonly modifyParamEntrySet?: PostgresqlParameterTemplateModifyParamEntrySet[] | cdktf.IResolvable; } export interface PostgresqlParameterTemplateModifyParamEntrySet { /** * Modify the parameter value. The input parameters are passed in the form of strings, for example: decimal `0.1`, integer `1000`, enumeration `replica`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#expected_value PostgresqlParameterTemplate#expected_value} */ readonly expectedValue: string; /** * The parameter name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#name PostgresqlParameterTemplate#name} */ readonly name: string; } export declare function postgresqlParameterTemplateModifyParamEntrySetToTerraform(struct?: PostgresqlParameterTemplateModifyParamEntrySet | cdktf.IResolvable): any; export declare function postgresqlParameterTemplateModifyParamEntrySetToHclTerraform(struct?: PostgresqlParameterTemplateModifyParamEntrySet | cdktf.IResolvable): any; export declare class PostgresqlParameterTemplateModifyParamEntrySetOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): PostgresqlParameterTemplateModifyParamEntrySet | cdktf.IResolvable | undefined; set internalValue(value: PostgresqlParameterTemplateModifyParamEntrySet | cdktf.IResolvable | undefined); private _expectedValue?; get expectedValue(): string; set expectedValue(value: string); get expectedValueInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; } export declare class PostgresqlParameterTemplateModifyParamEntrySetList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: PostgresqlParameterTemplateModifyParamEntrySet[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): PostgresqlParameterTemplateModifyParamEntrySetOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template tencentcloud_postgresql_parameter_template} */ export declare class PostgresqlParameterTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_postgresql_parameter_template"; /** * Generates CDKTF code for importing a PostgresqlParameterTemplate 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 PostgresqlParameterTemplate to import * @param importFromId The id of the existing PostgresqlParameterTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_parameter_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PostgresqlParameterTemplate 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/postgresql_parameter_template tencentcloud_postgresql_parameter_template} 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 PostgresqlParameterTemplateConfig */ constructor(scope: Construct, id: string, config: PostgresqlParameterTemplateConfig); private _dbEngine?; get dbEngine(): string; set dbEngine(value: string); get dbEngineInput(): string; private _dbMajorVersion?; get dbMajorVersion(): string; set dbMajorVersion(value: string); get dbMajorVersionInput(): string; private _deleteParamSet?; get deleteParamSet(): string[]; set deleteParamSet(value: string[]); resetDeleteParamSet(): void; get deleteParamSetInput(): string[]; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _templateDescription?; get templateDescription(): string; set templateDescription(value: string); resetTemplateDescription(): void; get templateDescriptionInput(): string; private _templateName?; get templateName(): string; set templateName(value: string); get templateNameInput(): string; private _modifyParamEntrySet; get modifyParamEntrySet(): PostgresqlParameterTemplateModifyParamEntrySetList; putModifyParamEntrySet(value: PostgresqlParameterTemplateModifyParamEntrySet[] | cdktf.IResolvable): void; resetModifyParamEntrySet(): void; get modifyParamEntrySetInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }