import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface RedisBackupDownloadRestrictionConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#id RedisBackupDownloadRestriction#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; /** * Identifies whether the customized LimitIP address can download the backup file.- In: Custom IP addresses are available for download.- NotIn: Custom IPs are not available for download. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#ip_comparison_symbol RedisBackupDownloadRestriction#ip_comparison_symbol} */ readonly ipComparisonSymbol?: string; /** * A custom VPC IP address for downloadable backup files.If the parameter LimitType is **Customize**, you need to configure this parameter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#limit_ip RedisBackupDownloadRestriction#limit_ip} */ readonly limitIp?: string[]; /** * Types of network restrictions for downloading backup files:- NoLimit: There is no limit, and backup files can be downloaded from both Tencent Cloud and internal and external networks.- LimitOnlyIntranet: Only intranet addresses automatically assigned by Tencent Cloud can download backup files.- Customize: refers to a user-defined private network downloadable backup file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#limit_type RedisBackupDownloadRestriction#limit_type} */ readonly limitType: string; /** * This parameter only supports entering In, which means that the custom LimitVpc can download the backup file. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#vpc_comparison_symbol RedisBackupDownloadRestriction#vpc_comparison_symbol} */ readonly vpcComparisonSymbol?: string; /** * limit_vpc block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#limit_vpc RedisBackupDownloadRestriction#limit_vpc} */ readonly limitVpc?: RedisBackupDownloadRestrictionLimitVpc[] | cdktf.IResolvable; } export interface RedisBackupDownloadRestrictionLimitVpc { /** * Customize the region of the VPC to which the backup file is downloaded. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#region RedisBackupDownloadRestriction#region} */ readonly region: string; /** * Customize the list of VPCs to download backup files. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#vpc_list RedisBackupDownloadRestriction#vpc_list} */ readonly vpcList: string[]; } export declare function redisBackupDownloadRestrictionLimitVpcToTerraform(struct?: RedisBackupDownloadRestrictionLimitVpc | cdktf.IResolvable): any; export declare function redisBackupDownloadRestrictionLimitVpcToHclTerraform(struct?: RedisBackupDownloadRestrictionLimitVpc | cdktf.IResolvable): any; export declare class RedisBackupDownloadRestrictionLimitVpcOutputReference 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(): RedisBackupDownloadRestrictionLimitVpc | cdktf.IResolvable | undefined; set internalValue(value: RedisBackupDownloadRestrictionLimitVpc | cdktf.IResolvable | undefined); private _region?; get region(): string; set region(value: string); get regionInput(): string; private _vpcList?; get vpcList(): string[]; set vpcList(value: string[]); get vpcListInput(): string[]; } export declare class RedisBackupDownloadRestrictionLimitVpcList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: RedisBackupDownloadRestrictionLimitVpc[] | 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): RedisBackupDownloadRestrictionLimitVpcOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction tencentcloud_redis_backup_download_restriction} */ export declare class RedisBackupDownloadRestriction extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_redis_backup_download_restriction"; /** * Generates CDKTF code for importing a RedisBackupDownloadRestriction 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 RedisBackupDownloadRestriction to import * @param importFromId The id of the existing RedisBackupDownloadRestriction that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/redis_backup_download_restriction#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the RedisBackupDownloadRestriction 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_backup_download_restriction tencentcloud_redis_backup_download_restriction} 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 RedisBackupDownloadRestrictionConfig */ constructor(scope: Construct, id: string, config: RedisBackupDownloadRestrictionConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ipComparisonSymbol?; get ipComparisonSymbol(): string; set ipComparisonSymbol(value: string); resetIpComparisonSymbol(): void; get ipComparisonSymbolInput(): string; private _limitIp?; get limitIp(): string[]; set limitIp(value: string[]); resetLimitIp(): void; get limitIpInput(): string[]; private _limitType?; get limitType(): string; set limitType(value: string); get limitTypeInput(): string; private _vpcComparisonSymbol?; get vpcComparisonSymbol(): string; set vpcComparisonSymbol(value: string); resetVpcComparisonSymbol(): void; get vpcComparisonSymbolInput(): string; private _limitVpc; get limitVpc(): RedisBackupDownloadRestrictionLimitVpcList; putLimitVpc(value: RedisBackupDownloadRestrictionLimitVpc[] | cdktf.IResolvable): void; resetLimitVpc(): void; get limitVpcInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }