import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RedisParamTemplateConfig extends cdktf.TerraformMetaArguments { /** * Parameter template description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#description RedisParamTemplate#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#id RedisParamTemplate#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 name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#name RedisParamTemplate#name} */ readonly name: string; /** * Specify product type. Valid values: 1 (Redis 2.8 Memory Edition in cluster architecture), 2 (Redis 2.8 Memory Edition in standard architecture), 3 (CKV 3.2 Memory Edition in standard architecture), 4 (CKV 3.2 Memory Edition in cluster architecture), 5 (Redis 2.8 Memory Edition in standalone architecture), 6 (Redis 4.0 Memory Edition in standard architecture), 7 (Redis 4.0 Memory Edition in cluster architecture), 8 (Redis 5.0 Memory Edition in standard architecture), 9 (Redis 5.0 Memory Edition in cluster architecture). If `template_id` is specified, this parameter can be left blank; otherwise, it is required. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#product_type RedisParamTemplate#product_type} */ readonly productType?: number; /** * Specify which existed template import from. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#template_id RedisParamTemplate#template_id} */ readonly templateId?: string; /** * params_override block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#params_override RedisParamTemplate#params_override} */ readonly paramsOverride?: RedisParamTemplateParamsOverride[] | cdktf.IResolvable; } export interface RedisParamTemplateParamDetails { } export declare function redisParamTemplateParamDetailsToTerraform(struct?: RedisParamTemplateParamDetails): any; export declare function redisParamTemplateParamDetailsToHclTerraform(struct?: RedisParamTemplateParamDetails): any; export declare class RedisParamTemplateParamDetailsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): RedisParamTemplateParamDetails | undefined; set internalValue(value: RedisParamTemplateParamDetails | undefined); get currentValue(): any; get default(): any; get description(): any; get enumValue(): any; get max(): any; get min(): any; get name(): any; get needReboot(): any; get paramType(): any; } export declare class RedisParamTemplateParamDetailsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @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): RedisParamTemplateParamDetailsOutputReference; } export interface RedisParamTemplateParamsOverride { /** * Parameter key e.g. `timeout`, check https://www.tencentcloud.com/document/product/239/39796 for more reference. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#key RedisParamTemplate#key} */ readonly key: string; /** * Parameter value, check https://www.tencentcloud.com/document/product/239/39796 for more reference. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#value RedisParamTemplate#value} */ readonly value: string; } export declare function redisParamTemplateParamsOverrideToTerraform(struct?: RedisParamTemplateParamsOverride | cdktf.IResolvable): any; export declare function redisParamTemplateParamsOverrideToHclTerraform(struct?: RedisParamTemplateParamsOverride | cdktf.IResolvable): any; export declare class RedisParamTemplateParamsOverrideOutputReference 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(): RedisParamTemplateParamsOverride | cdktf.IResolvable | undefined; set internalValue(value: RedisParamTemplateParamsOverride | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _value?; get value(): string; set value(value: string); get valueInput(): string; } export declare class RedisParamTemplateParamsOverrideList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: RedisParamTemplateParamsOverride[] | 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): RedisParamTemplateParamsOverrideOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template tencentcloud_redis_param_template} */ export declare class RedisParamTemplate extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_redis_param_template"; /** * Generates CDKTF code for importing a RedisParamTemplate 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 RedisParamTemplate to import * @param importFromId The id of the existing RedisParamTemplate that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_param_template#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RedisParamTemplate 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/redis_param_template tencentcloud_redis_param_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 RedisParamTemplateConfig */ constructor(scope: Construct, id: string, config: RedisParamTemplateConfig); 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 _name?; get name(): string; set name(value: string); get nameInput(): string; private _paramDetails; get paramDetails(): RedisParamTemplateParamDetailsList; private _productType?; get productType(): number; set productType(value: number); resetProductType(): void; get productTypeInput(): number; private _templateId?; get templateId(): string; set templateId(value: string); resetTemplateId(): void; get templateIdInput(): string; private _paramsOverride; get paramsOverride(): RedisParamTemplateParamsOverrideList; putParamsOverride(value: RedisParamTemplateParamsOverride[] | cdktf.IResolvable): void; resetParamsOverride(): void; get paramsOverrideInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }