import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PostgresqlBackupDownloadRestrictionConfigConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#id PostgresqlBackupDownloadRestrictionConfig#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; /** * ip limit Strategy: ALLOW, DENY. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#ip_restriction_effect PostgresqlBackupDownloadRestrictionConfig#ip_restriction_effect} */ readonly ipRestrictionEffect?: string; /** * The list of ips that are allowed or denied to download backup files. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#ip_set PostgresqlBackupDownloadRestrictionConfig#ip_set} */ readonly ipSet?: string[]; /** * Backup file download restriction type: NONE:Unlimited, both internal and external networks can be downloaded. INTRANET:Only intranet downloads are allowed. CUSTOMIZE:Customize the vpc or ip that limits downloads. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#restriction_type PostgresqlBackupDownloadRestrictionConfig#restriction_type} */ readonly restrictionType: string; /** * The list of vpcIds that allow or deny downloading of backup files. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#vpc_id_set PostgresqlBackupDownloadRestrictionConfig#vpc_id_set} */ readonly vpcIdSet?: string[]; /** * vpc limit Strategy: ALLOW, DENY. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#vpc_restriction_effect PostgresqlBackupDownloadRestrictionConfig#vpc_restriction_effect} */ readonly vpcRestrictionEffect?: string; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config tencentcloud_postgresql_backup_download_restriction_config} */ export declare class PostgresqlBackupDownloadRestrictionConfig extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_postgresql_backup_download_restriction_config"; /** * Generates CDKTF code for importing a PostgresqlBackupDownloadRestrictionConfig 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 PostgresqlBackupDownloadRestrictionConfig to import * @param importFromId The id of the existing PostgresqlBackupDownloadRestrictionConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_backup_download_restriction_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PostgresqlBackupDownloadRestrictionConfig 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_backup_download_restriction_config tencentcloud_postgresql_backup_download_restriction_config} 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 PostgresqlBackupDownloadRestrictionConfigConfig */ constructor(scope: Construct, id: string, config: PostgresqlBackupDownloadRestrictionConfigConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _ipRestrictionEffect?; get ipRestrictionEffect(): string; set ipRestrictionEffect(value: string); resetIpRestrictionEffect(): void; get ipRestrictionEffectInput(): string; private _ipSet?; get ipSet(): string[]; set ipSet(value: string[]); resetIpSet(): void; get ipSetInput(): string[]; private _restrictionType?; get restrictionType(): string; set restrictionType(value: string); get restrictionTypeInput(): string; private _vpcIdSet?; get vpcIdSet(): string[]; set vpcIdSet(value: string[]); resetVpcIdSet(): void; get vpcIdSetInput(): string[]; private _vpcRestrictionEffect?; get vpcRestrictionEffect(): string; set vpcRestrictionEffect(value: string); resetVpcRestrictionEffect(): void; get vpcRestrictionEffectInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }