import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MdbPostgresqlClusterConfig extends cdktf.TerraformMetaArguments { /** * The `true` value means that resource is protected from accidental deletion. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#deletion_protection MdbPostgresqlCluster#deletion_protection} */ readonly deletionProtection?: boolean | cdktf.IResolvable; /** * The resource description. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#description MdbPostgresqlCluster#description} */ readonly description?: string; /** * ID of the KMS key for cluster disk encryption. Restoring without an encryption key will disable encryption if any exists. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#disk_encryption_key_id MdbPostgresqlCluster#disk_encryption_key_id} */ readonly diskEncryptionKeyId?: string; /** * Deployment environment of the PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#environment MdbPostgresqlCluster#environment} */ readonly environment: string; /** * The folder identifier that resource belongs to. If it is not provided, the default provider `folder-id` is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#folder_id MdbPostgresqlCluster#folder_id} */ readonly folderId?: string; /** * Host Group IDs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#host_group_ids MdbPostgresqlCluster#host_group_ids} */ readonly hostGroupIds?: string[]; /** * Deprecated field. Will be removed in future versions. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#host_master_name MdbPostgresqlCluster#host_master_name} */ readonly hostMasterName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#id MdbPostgresqlCluster#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; /** * A set of key/value label pairs which assigned to resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#labels MdbPostgresqlCluster#labels} */ readonly labels?: { [key: string]: string; }; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#name MdbPostgresqlCluster#name} */ readonly name: string; /** * The `VPC Network ID` of subnets which resource attached to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#network_id MdbPostgresqlCluster#network_id} */ readonly networkId: string; /** * The list of security groups applied to resource or their components. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#security_group_ids MdbPostgresqlCluster#security_group_ids} */ readonly securityGroupIds?: string[]; /** * config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#config MdbPostgresqlCluster#config} */ readonly config: MdbPostgresqlClusterConfigA; /** * database block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#database MdbPostgresqlCluster#database} */ readonly database?: MdbPostgresqlClusterDatabase[] | cdktf.IResolvable; /** * host block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#host MdbPostgresqlCluster#host} */ readonly host: MdbPostgresqlClusterHost[] | cdktf.IResolvable; /** * maintenance_window block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#maintenance_window MdbPostgresqlCluster#maintenance_window} */ readonly maintenanceWindow?: MdbPostgresqlClusterMaintenanceWindow; /** * restore block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#restore MdbPostgresqlCluster#restore} */ readonly restore?: MdbPostgresqlClusterRestore; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#timeouts MdbPostgresqlCluster#timeouts} */ readonly timeouts?: MdbPostgresqlClusterTimeouts; /** * user block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#user MdbPostgresqlCluster#user} */ readonly user?: MdbPostgresqlClusterUser[] | cdktf.IResolvable; } export interface MdbPostgresqlClusterConfigAccess { /** * Allow access for [Yandex DataLens](https://yandex.cloud/services/datalens). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#data_lens MdbPostgresqlCluster#data_lens} */ readonly dataLens?: boolean | cdktf.IResolvable; /** * Allow access for [DataTransfer](https://yandex.cloud/services/data-transfer). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#data_transfer MdbPostgresqlCluster#data_transfer} */ readonly dataTransfer?: boolean | cdktf.IResolvable; /** * Allow access for [connection to managed databases from functions](https://yandex.cloud/docs/functions/operations/database-connection). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#serverless MdbPostgresqlCluster#serverless} */ readonly serverless?: boolean | cdktf.IResolvable; /** * Allow access for [SQL queries in the management console](https://yandex.cloud/docs/managed-postgresql/operations/web-sql-query). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#web_sql MdbPostgresqlCluster#web_sql} */ readonly webSql?: boolean | cdktf.IResolvable; } export declare function mdbPostgresqlClusterConfigAccessToTerraform(struct?: MdbPostgresqlClusterConfigAccessOutputReference | MdbPostgresqlClusterConfigAccess): any; export declare function mdbPostgresqlClusterConfigAccessToHclTerraform(struct?: MdbPostgresqlClusterConfigAccessOutputReference | MdbPostgresqlClusterConfigAccess): any; export declare class MdbPostgresqlClusterConfigAccessOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigAccess | undefined; set internalValue(value: MdbPostgresqlClusterConfigAccess | undefined); private _dataLens?; get dataLens(): boolean | cdktf.IResolvable; set dataLens(value: boolean | cdktf.IResolvable); resetDataLens(): void; get dataLensInput(): any; private _dataTransfer?; get dataTransfer(): boolean | cdktf.IResolvable; set dataTransfer(value: boolean | cdktf.IResolvable); resetDataTransfer(): void; get dataTransferInput(): any; private _serverless?; get serverless(): boolean | cdktf.IResolvable; set serverless(value: boolean | cdktf.IResolvable); resetServerless(): void; get serverlessInput(): any; private _webSql?; get webSql(): boolean | cdktf.IResolvable; set webSql(value: boolean | cdktf.IResolvable); resetWebSql(): void; get webSqlInput(): any; } export interface MdbPostgresqlClusterConfigBackupWindowStart { /** * The hour at which backup will be started (UTC). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#hours MdbPostgresqlCluster#hours} */ readonly hours?: number; /** * The minute at which backup will be started. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#minutes MdbPostgresqlCluster#minutes} */ readonly minutes?: number; } export declare function mdbPostgresqlClusterConfigBackupWindowStartToTerraform(struct?: MdbPostgresqlClusterConfigBackupWindowStartOutputReference | MdbPostgresqlClusterConfigBackupWindowStart): any; export declare function mdbPostgresqlClusterConfigBackupWindowStartToHclTerraform(struct?: MdbPostgresqlClusterConfigBackupWindowStartOutputReference | MdbPostgresqlClusterConfigBackupWindowStart): any; export declare class MdbPostgresqlClusterConfigBackupWindowStartOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigBackupWindowStart | undefined; set internalValue(value: MdbPostgresqlClusterConfigBackupWindowStart | undefined); private _hours?; get hours(): number; set hours(value: number); resetHours(): void; get hoursInput(): number; private _minutes?; get minutes(): number; set minutes(value: number); resetMinutes(): void; get minutesInput(): number; } export interface MdbPostgresqlClusterConfigDiskSizeAutoscaling { /** * The overall maximum for disk size that limit all autoscaling iterations. See the [documentation](https://yandex.cloud/en/docs/managed-postgresql/concepts/storage#auto-rescale) for details. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#disk_size_limit MdbPostgresqlCluster#disk_size_limit} */ readonly diskSizeLimit: number; /** * Threshold of storage usage (in percent) that triggers immediate automatic scaling of the storage. Zero value means disabled threshold. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#emergency_usage_threshold MdbPostgresqlCluster#emergency_usage_threshold} */ readonly emergencyUsageThreshold?: number; /** * Threshold of storage usage (in percent) that triggers automatic scaling of the storage during the maintenance window. Zero value means disabled threshold. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#planned_usage_threshold MdbPostgresqlCluster#planned_usage_threshold} */ readonly plannedUsageThreshold?: number; } export declare function mdbPostgresqlClusterConfigDiskSizeAutoscalingToTerraform(struct?: MdbPostgresqlClusterConfigDiskSizeAutoscalingOutputReference | MdbPostgresqlClusterConfigDiskSizeAutoscaling): any; export declare function mdbPostgresqlClusterConfigDiskSizeAutoscalingToHclTerraform(struct?: MdbPostgresqlClusterConfigDiskSizeAutoscalingOutputReference | MdbPostgresqlClusterConfigDiskSizeAutoscaling): any; export declare class MdbPostgresqlClusterConfigDiskSizeAutoscalingOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigDiskSizeAutoscaling | undefined; set internalValue(value: MdbPostgresqlClusterConfigDiskSizeAutoscaling | undefined); private _diskSizeLimit?; get diskSizeLimit(): number; set diskSizeLimit(value: number); get diskSizeLimitInput(): number; private _emergencyUsageThreshold?; get emergencyUsageThreshold(): number; set emergencyUsageThreshold(value: number); resetEmergencyUsageThreshold(): void; get emergencyUsageThresholdInput(): number; private _plannedUsageThreshold?; get plannedUsageThreshold(): number; set plannedUsageThreshold(value: number); resetPlannedUsageThreshold(): void; get plannedUsageThresholdInput(): number; } export interface MdbPostgresqlClusterConfigPerformanceDiagnostics { /** * Enable performance diagnostics. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#enabled MdbPostgresqlCluster#enabled} */ readonly enabled?: boolean | cdktf.IResolvable; /** * Interval (in seconds) for pg_stat_activity sampling. Acceptable values are 1 to 86400, inclusive. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#sessions_sampling_interval MdbPostgresqlCluster#sessions_sampling_interval} */ readonly sessionsSamplingInterval: number; /** * Interval (in seconds) for pg_stat_statements sampling. Acceptable values are 1 to 86400, inclusive. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#statements_sampling_interval MdbPostgresqlCluster#statements_sampling_interval} */ readonly statementsSamplingInterval: number; } export declare function mdbPostgresqlClusterConfigPerformanceDiagnosticsToTerraform(struct?: MdbPostgresqlClusterConfigPerformanceDiagnosticsOutputReference | MdbPostgresqlClusterConfigPerformanceDiagnostics): any; export declare function mdbPostgresqlClusterConfigPerformanceDiagnosticsToHclTerraform(struct?: MdbPostgresqlClusterConfigPerformanceDiagnosticsOutputReference | MdbPostgresqlClusterConfigPerformanceDiagnostics): any; export declare class MdbPostgresqlClusterConfigPerformanceDiagnosticsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigPerformanceDiagnostics | undefined; set internalValue(value: MdbPostgresqlClusterConfigPerformanceDiagnostics | undefined); private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); resetEnabled(): void; get enabledInput(): any; private _sessionsSamplingInterval?; get sessionsSamplingInterval(): number; set sessionsSamplingInterval(value: number); get sessionsSamplingIntervalInput(): number; private _statementsSamplingInterval?; get statementsSamplingInterval(): number; set statementsSamplingInterval(value: number); get statementsSamplingIntervalInput(): number; } export interface MdbPostgresqlClusterConfigPoolerConfig { /** * Setting `pool_discard` [parameter in Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool_discard-yesno). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#pool_discard MdbPostgresqlCluster#pool_discard} */ readonly poolDiscard?: boolean | cdktf.IResolvable; /** * Mode that the connection pooler is working in. See descriptions of all modes in the [documentation for Odyssey](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#pooling_mode MdbPostgresqlCluster#pooling_mode} */ readonly poolingMode?: string; } export declare function mdbPostgresqlClusterConfigPoolerConfigToTerraform(struct?: MdbPostgresqlClusterConfigPoolerConfigOutputReference | MdbPostgresqlClusterConfigPoolerConfig): any; export declare function mdbPostgresqlClusterConfigPoolerConfigToHclTerraform(struct?: MdbPostgresqlClusterConfigPoolerConfigOutputReference | MdbPostgresqlClusterConfigPoolerConfig): any; export declare class MdbPostgresqlClusterConfigPoolerConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigPoolerConfig | undefined; set internalValue(value: MdbPostgresqlClusterConfigPoolerConfig | undefined); private _poolDiscard?; get poolDiscard(): boolean | cdktf.IResolvable; set poolDiscard(value: boolean | cdktf.IResolvable); resetPoolDiscard(): void; get poolDiscardInput(): any; private _poolingMode?; get poolingMode(): string; set poolingMode(value: string); resetPoolingMode(): void; get poolingModeInput(): string; } export interface MdbPostgresqlClusterConfigResources { /** * Volume of the storage available to a PostgreSQL host, in gigabytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#disk_size MdbPostgresqlCluster#disk_size} */ readonly diskSize: number; /** * Type of the storage of PostgreSQL hosts. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#disk_type_id MdbPostgresqlCluster#disk_type_id} */ readonly diskTypeId?: string; /** * The ID of the preset for computational resources available to a PostgreSQL host (CPU, memory etc.). For more information, see [the official documentation](https://yandex.cloud/docs/managed-postgresql/concepts/instance-types). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#resource_preset_id MdbPostgresqlCluster#resource_preset_id} */ readonly resourcePresetId: string; } export declare function mdbPostgresqlClusterConfigResourcesToTerraform(struct?: MdbPostgresqlClusterConfigResourcesOutputReference | MdbPostgresqlClusterConfigResources): any; export declare function mdbPostgresqlClusterConfigResourcesToHclTerraform(struct?: MdbPostgresqlClusterConfigResourcesOutputReference | MdbPostgresqlClusterConfigResources): any; export declare class MdbPostgresqlClusterConfigResourcesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigResources | undefined; set internalValue(value: MdbPostgresqlClusterConfigResources | undefined); private _diskSize?; get diskSize(): number; set diskSize(value: number); get diskSizeInput(): number; private _diskTypeId?; get diskTypeId(): string; set diskTypeId(value: string); resetDiskTypeId(): void; get diskTypeIdInput(): string; private _resourcePresetId?; get resourcePresetId(): string; set resourcePresetId(value: string); get resourcePresetIdInput(): string; } export interface MdbPostgresqlClusterConfigA { /** * Configuration setting which enables/disables autofailover in cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#autofailover MdbPostgresqlCluster#autofailover} */ readonly autofailover?: boolean | cdktf.IResolvable; /** * The period in days during which backups are stored. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#backup_retain_period_days MdbPostgresqlCluster#backup_retain_period_days} */ readonly backupRetainPeriodDays?: number; /** * PostgreSQL cluster configuration. For detailed information specific to your PostgreSQL version, please refer to the [API proto specifications](https://github.com/yandex-cloud/cloudapi/tree/master/yandex/cloud/mdb/postgresql/v1/config). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#postgresql_config MdbPostgresqlCluster#postgresql_config} */ readonly postgresqlConfig?: { [key: string]: string; }; /** * Version of the PostgreSQL cluster. (allowed versions are: 13, 13-1c, 14, 14-1c, 15, 15-1c, 16, 17). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#version MdbPostgresqlCluster#version} */ readonly version: string; /** * access block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#access MdbPostgresqlCluster#access} */ readonly access?: MdbPostgresqlClusterConfigAccess; /** * backup_window_start block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#backup_window_start MdbPostgresqlCluster#backup_window_start} */ readonly backupWindowStart?: MdbPostgresqlClusterConfigBackupWindowStart; /** * disk_size_autoscaling block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#disk_size_autoscaling MdbPostgresqlCluster#disk_size_autoscaling} */ readonly diskSizeAutoscaling?: MdbPostgresqlClusterConfigDiskSizeAutoscaling; /** * performance_diagnostics block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#performance_diagnostics MdbPostgresqlCluster#performance_diagnostics} */ readonly performanceDiagnostics?: MdbPostgresqlClusterConfigPerformanceDiagnostics; /** * pooler_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#pooler_config MdbPostgresqlCluster#pooler_config} */ readonly poolerConfig?: MdbPostgresqlClusterConfigPoolerConfig; /** * resources block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#resources MdbPostgresqlCluster#resources} */ readonly resources: MdbPostgresqlClusterConfigResources; } export declare function mdbPostgresqlClusterConfigAToTerraform(struct?: MdbPostgresqlClusterConfigAOutputReference | MdbPostgresqlClusterConfigA): any; export declare function mdbPostgresqlClusterConfigAToHclTerraform(struct?: MdbPostgresqlClusterConfigAOutputReference | MdbPostgresqlClusterConfigA): any; export declare class MdbPostgresqlClusterConfigAOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterConfigA | undefined; set internalValue(value: MdbPostgresqlClusterConfigA | undefined); private _autofailover?; get autofailover(): boolean | cdktf.IResolvable; set autofailover(value: boolean | cdktf.IResolvable); resetAutofailover(): void; get autofailoverInput(): any; private _backupRetainPeriodDays?; get backupRetainPeriodDays(): number; set backupRetainPeriodDays(value: number); resetBackupRetainPeriodDays(): void; get backupRetainPeriodDaysInput(): number; private _postgresqlConfig?; get postgresqlConfig(): { [key: string]: string; }; set postgresqlConfig(value: { [key: string]: string; }); resetPostgresqlConfig(): void; get postgresqlConfigInput(): { [key: string]: string; }; private _version?; get version(): string; set version(value: string); get versionInput(): string; private _access; get access(): MdbPostgresqlClusterConfigAccessOutputReference; putAccess(value: MdbPostgresqlClusterConfigAccess): void; resetAccess(): void; get accessInput(): MdbPostgresqlClusterConfigAccess; private _backupWindowStart; get backupWindowStart(): MdbPostgresqlClusterConfigBackupWindowStartOutputReference; putBackupWindowStart(value: MdbPostgresqlClusterConfigBackupWindowStart): void; resetBackupWindowStart(): void; get backupWindowStartInput(): MdbPostgresqlClusterConfigBackupWindowStart; private _diskSizeAutoscaling; get diskSizeAutoscaling(): MdbPostgresqlClusterConfigDiskSizeAutoscalingOutputReference; putDiskSizeAutoscaling(value: MdbPostgresqlClusterConfigDiskSizeAutoscaling): void; resetDiskSizeAutoscaling(): void; get diskSizeAutoscalingInput(): MdbPostgresqlClusterConfigDiskSizeAutoscaling; private _performanceDiagnostics; get performanceDiagnostics(): MdbPostgresqlClusterConfigPerformanceDiagnosticsOutputReference; putPerformanceDiagnostics(value: MdbPostgresqlClusterConfigPerformanceDiagnostics): void; resetPerformanceDiagnostics(): void; get performanceDiagnosticsInput(): MdbPostgresqlClusterConfigPerformanceDiagnostics; private _poolerConfig; get poolerConfig(): MdbPostgresqlClusterConfigPoolerConfigOutputReference; putPoolerConfig(value: MdbPostgresqlClusterConfigPoolerConfig): void; resetPoolerConfig(): void; get poolerConfigInput(): MdbPostgresqlClusterConfigPoolerConfig; private _resources; get resources(): MdbPostgresqlClusterConfigResourcesOutputReference; putResources(value: MdbPostgresqlClusterConfigResources): void; get resourcesInput(): MdbPostgresqlClusterConfigResources; } export interface MdbPostgresqlClusterDatabaseExtension { /** * Name of the database extension. For more information on available extensions see [the official documentation](https://yandex.cloud/docs/managed-postgresql/operations/cluster-extensions). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#name MdbPostgresqlCluster#name} */ readonly name: string; /** * Version of the extension. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#version MdbPostgresqlCluster#version} */ readonly version?: string; } export declare function mdbPostgresqlClusterDatabaseExtensionToTerraform(struct?: MdbPostgresqlClusterDatabaseExtension | cdktf.IResolvable): any; export declare function mdbPostgresqlClusterDatabaseExtensionToHclTerraform(struct?: MdbPostgresqlClusterDatabaseExtension | cdktf.IResolvable): any; export declare class MdbPostgresqlClusterDatabaseExtensionOutputReference 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(): MdbPostgresqlClusterDatabaseExtension | cdktf.IResolvable | undefined; set internalValue(value: MdbPostgresqlClusterDatabaseExtension | cdktf.IResolvable | undefined); private _name?; get name(): string; set name(value: string); get nameInput(): string; private _version?; get version(): string; set version(value: string); resetVersion(): void; get versionInput(): string; } export declare class MdbPostgresqlClusterDatabaseExtensionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MdbPostgresqlClusterDatabaseExtension[] | 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): MdbPostgresqlClusterDatabaseExtensionOutputReference; } export interface MdbPostgresqlClusterDatabase { /** * POSIX locale for string sorting order. Forbidden to change in an existing database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#lc_collate MdbPostgresqlCluster#lc_collate} */ readonly lcCollate?: string; /** * POSIX locale for character classification. Forbidden to change in an existing database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#lc_type MdbPostgresqlCluster#lc_type} */ readonly lcType?: string; /** * The resource name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#name MdbPostgresqlCluster#name} */ readonly name: string; /** * Name of the user assigned as the owner of the database. Forbidden to change in an existing database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#owner MdbPostgresqlCluster#owner} */ readonly owner: string; /** * Name of the template database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#template_db MdbPostgresqlCluster#template_db} */ readonly templateDb?: string; /** * extension block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#extension MdbPostgresqlCluster#extension} */ readonly extension?: MdbPostgresqlClusterDatabaseExtension[] | cdktf.IResolvable; } export declare function mdbPostgresqlClusterDatabaseToTerraform(struct?: MdbPostgresqlClusterDatabase | cdktf.IResolvable): any; export declare function mdbPostgresqlClusterDatabaseToHclTerraform(struct?: MdbPostgresqlClusterDatabase | cdktf.IResolvable): any; export declare class MdbPostgresqlClusterDatabaseOutputReference 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(): MdbPostgresqlClusterDatabase | cdktf.IResolvable | undefined; set internalValue(value: MdbPostgresqlClusterDatabase | cdktf.IResolvable | undefined); private _lcCollate?; get lcCollate(): string; set lcCollate(value: string); resetLcCollate(): void; get lcCollateInput(): string; private _lcType?; get lcType(): string; set lcType(value: string); resetLcType(): void; get lcTypeInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _owner?; get owner(): string; set owner(value: string); get ownerInput(): string; private _templateDb?; get templateDb(): string; set templateDb(value: string); resetTemplateDb(): void; get templateDbInput(): string; private _extension; get extension(): MdbPostgresqlClusterDatabaseExtensionList; putExtension(value: MdbPostgresqlClusterDatabaseExtension[] | cdktf.IResolvable): void; resetExtension(): void; get extensionInput(): any; } export declare class MdbPostgresqlClusterDatabaseList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MdbPostgresqlClusterDatabase[] | 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): MdbPostgresqlClusterDatabaseOutputReference; } export interface MdbPostgresqlClusterHost { /** * Whether the host should get a public IP address. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#assign_public_ip MdbPostgresqlCluster#assign_public_ip} */ readonly assignPublicIp?: boolean | cdktf.IResolvable; /** * Host state name. It should be set for all hosts or unset for all hosts. This field can be used by another host, to select which host will be its replication source. Please see `replication_source_name` parameter. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#name MdbPostgresqlCluster#name} */ readonly name?: string; /** * Host priority in HA group. It works only when `name` is set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#priority MdbPostgresqlCluster#priority} */ readonly priority?: number; /** * Host replication source name points to host's `name` from which this host should replicate. When not set then host in HA group. It works only when `name` is set. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#replication_source_name MdbPostgresqlCluster#replication_source_name} */ readonly replicationSourceName?: string; /** * The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#subnet_id MdbPostgresqlCluster#subnet_id} */ readonly subnetId?: string; /** * The [availability zone](https://yandex.cloud/docs/overview/concepts/geo-scope) where resource is located. If it is not provided, the default provider zone will be used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#zone MdbPostgresqlCluster#zone} */ readonly zone: string; } export declare function mdbPostgresqlClusterHostToTerraform(struct?: MdbPostgresqlClusterHost | cdktf.IResolvable): any; export declare function mdbPostgresqlClusterHostToHclTerraform(struct?: MdbPostgresqlClusterHost | cdktf.IResolvable): any; export declare class MdbPostgresqlClusterHostOutputReference 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(): MdbPostgresqlClusterHost | cdktf.IResolvable | undefined; set internalValue(value: MdbPostgresqlClusterHost | cdktf.IResolvable | undefined); private _assignPublicIp?; get assignPublicIp(): boolean | cdktf.IResolvable; set assignPublicIp(value: boolean | cdktf.IResolvable); resetAssignPublicIp(): void; get assignPublicIpInput(): any; get fqdn(): any; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _priority?; get priority(): number; set priority(value: number); resetPriority(): void; get priorityInput(): number; get replicationSource(): any; private _replicationSourceName?; get replicationSourceName(): string; set replicationSourceName(value: string); resetReplicationSourceName(): void; get replicationSourceNameInput(): string; get role(): any; private _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _zone?; get zone(): string; set zone(value: string); get zoneInput(): string; } export declare class MdbPostgresqlClusterHostList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MdbPostgresqlClusterHost[] | 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): MdbPostgresqlClusterHostOutputReference; } export interface MdbPostgresqlClusterMaintenanceWindow { /** * Day of the week (in `DDD` format). Allowed values: `MON`, `TUE`, `WED`, `THU`, `FRI`, `SAT`, `SUN` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#day MdbPostgresqlCluster#day} */ readonly day?: string; /** * Hour of the day in UTC (in `HH` format). Allowed value is between 1 and 24. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#hour MdbPostgresqlCluster#hour} */ readonly hour?: number; /** * Type of maintenance window. Can be either `ANYTIME` or `WEEKLY`. A day and hour of window need to be specified with weekly window. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#type MdbPostgresqlCluster#type} */ readonly type: string; } export declare function mdbPostgresqlClusterMaintenanceWindowToTerraform(struct?: MdbPostgresqlClusterMaintenanceWindowOutputReference | MdbPostgresqlClusterMaintenanceWindow): any; export declare function mdbPostgresqlClusterMaintenanceWindowToHclTerraform(struct?: MdbPostgresqlClusterMaintenanceWindowOutputReference | MdbPostgresqlClusterMaintenanceWindow): any; export declare class MdbPostgresqlClusterMaintenanceWindowOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterMaintenanceWindow | undefined; set internalValue(value: MdbPostgresqlClusterMaintenanceWindow | undefined); private _day?; get day(): string; set day(value: string); resetDay(): void; get dayInput(): string; private _hour?; get hour(): number; set hour(value: number); resetHour(): void; get hourInput(): number; private _type?; get type(): string; set type(value: string); get typeInput(): string; } export interface MdbPostgresqlClusterRestore { /** * Backup ID. The cluster will be created from the specified backup. [How to get a list of PostgreSQL backups](https://yandex.cloud/docs/managed-postgresql/operations/cluster-backups). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#backup_id MdbPostgresqlCluster#backup_id} */ readonly backupId: string; /** * Timestamp of the moment to which the PostgreSQL cluster should be restored. (Format: `2006-01-02T15:04:05` - UTC). When not set, current time is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#time MdbPostgresqlCluster#time} */ readonly time?: string; /** * Flag that indicates whether a database should be restored to the first backup point available just after the timestamp specified in the [time] field instead of just before. Possible values: * * `false` (default) — the restore point refers to the first backup moment before [time]. * * `true` — the restore point refers to the first backup point after [time]. * * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#time_inclusive MdbPostgresqlCluster#time_inclusive} */ readonly timeInclusive?: boolean | cdktf.IResolvable; } export declare function mdbPostgresqlClusterRestoreToTerraform(struct?: MdbPostgresqlClusterRestoreOutputReference | MdbPostgresqlClusterRestore): any; export declare function mdbPostgresqlClusterRestoreToHclTerraform(struct?: MdbPostgresqlClusterRestoreOutputReference | MdbPostgresqlClusterRestore): any; export declare class MdbPostgresqlClusterRestoreOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterRestore | undefined; set internalValue(value: MdbPostgresqlClusterRestore | undefined); private _backupId?; get backupId(): string; set backupId(value: string); get backupIdInput(): string; private _time?; get time(): string; set time(value: string); resetTime(): void; get timeInput(): string; private _timeInclusive?; get timeInclusive(): boolean | cdktf.IResolvable; set timeInclusive(value: boolean | cdktf.IResolvable); resetTimeInclusive(): void; get timeInclusiveInput(): any; } export interface MdbPostgresqlClusterTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#create MdbPostgresqlCluster#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#delete MdbPostgresqlCluster#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#update MdbPostgresqlCluster#update} */ readonly update?: string; } export declare function mdbPostgresqlClusterTimeoutsToTerraform(struct?: MdbPostgresqlClusterTimeouts | cdktf.IResolvable): any; export declare function mdbPostgresqlClusterTimeoutsToHclTerraform(struct?: MdbPostgresqlClusterTimeouts | cdktf.IResolvable): any; export declare class MdbPostgresqlClusterTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MdbPostgresqlClusterTimeouts | cdktf.IResolvable | undefined; set internalValue(value: MdbPostgresqlClusterTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string; } export interface MdbPostgresqlClusterUserPermission { /** * The name of the database that the permission grants access to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#database_name MdbPostgresqlCluster#database_name} */ readonly databaseName: string; } export declare function mdbPostgresqlClusterUserPermissionToTerraform(struct?: MdbPostgresqlClusterUserPermission | cdktf.IResolvable): any; export declare function mdbPostgresqlClusterUserPermissionToHclTerraform(struct?: MdbPostgresqlClusterUserPermission | cdktf.IResolvable): any; export declare class MdbPostgresqlClusterUserPermissionOutputReference 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(): MdbPostgresqlClusterUserPermission | cdktf.IResolvable | undefined; set internalValue(value: MdbPostgresqlClusterUserPermission | cdktf.IResolvable | undefined); private _databaseName?; get databaseName(): string; set databaseName(value: string); get databaseNameInput(): string; } export declare class MdbPostgresqlClusterUserPermissionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MdbPostgresqlClusterUserPermission[] | 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): MdbPostgresqlClusterUserPermissionOutputReference; } export interface MdbPostgresqlClusterUser { /** * The maximum number of connections per user. (Default 50). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#conn_limit MdbPostgresqlCluster#conn_limit} */ readonly connLimit?: number; /** * List of the user's grants. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#grants MdbPostgresqlCluster#grants} */ readonly grants?: string[]; /** * User's ability to login. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#login MdbPostgresqlCluster#login} */ readonly login?: boolean | cdktf.IResolvable; /** * The name of the user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#name MdbPostgresqlCluster#name} */ readonly name: string; /** * The password of the user. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#password MdbPostgresqlCluster#password} */ readonly password: string; /** * Map of user settings. [Full description](https://yandex.cloud/docs/managed-postgresql/api-ref/grpc/Cluster/create#yandex.cloud.mdb.postgresql.v1.UserSettings). * * * `default_transaction_isolation` - defines the default isolation level to be set for all new SQL transactions. One of: * - 1: `read uncommitted` * - 2: `read committed` * - 3: `repeatable read` * - 4: `serializable` * * * `lock_timeout` - The maximum time (in milliseconds) for any statement to wait for acquiring a lock on an table, index, row or other database object (default 0). * * * `log_min_duration_statement` - This setting controls logging of the duration of statements. Default -1 disables logging of the duration of statements. * * * `synchronous_commit` - This setting defines whether DBMS will commit transaction in a synchronous way. One of: * - 1: `on` * - 2: `off` * - 3: `local` * - 4: `remote write` * - 5: `remote apply` * * * `temp_file_limit` - The maximum storage space size (in kilobytes) that a single process can use to create temporary files. * * * `log_statement` - This setting specifies which SQL statements should be logged (on the user level). One of: * - 1: `none` * - 2: `ddl` * - 3: `mod` * - 4: `all` * * * `pool_mode` - Mode that the connection pooler is working in with specified user. One of: * - 1: `session` * - 2: `transaction` * - 3: `statement` * * * `prepared_statements_pooling` - This setting allows user to use prepared statements with transaction pooling. Boolean. * * * `catchup_timeout` - The connection pooler setting. It determines the maximum allowed replication lag (in seconds). Pooler will reject connections to the replica with a lag above this threshold. Default value is 0, which disables this feature. Integer. * * * `wal_sender_timeout` - The maximum time (in milliseconds) to wait for WAL replication. Terminate replication connections that are inactive for longer than this amount of time. Integer. * * * `idle_in_transaction_session_timeout` - Sets the maximum allowed idle time (in milliseconds) between queries, when in a transaction. Value of 0 (default) disables the timeout. Integer. * * * `statement_timeout` - The maximum time (in milliseconds) to wait for statement. Value of 0 (default) disables the timeout. Integer. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#settings MdbPostgresqlCluster#settings} */ readonly settings?: { [key: string]: string; }; /** * permission block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#permission MdbPostgresqlCluster#permission} */ readonly permission?: MdbPostgresqlClusterUserPermission[] | cdktf.IResolvable; } export declare function mdbPostgresqlClusterUserToTerraform(struct?: MdbPostgresqlClusterUser | cdktf.IResolvable): any; export declare function mdbPostgresqlClusterUserToHclTerraform(struct?: MdbPostgresqlClusterUser | cdktf.IResolvable): any; export declare class MdbPostgresqlClusterUserOutputReference 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(): MdbPostgresqlClusterUser | cdktf.IResolvable | undefined; set internalValue(value: MdbPostgresqlClusterUser | cdktf.IResolvable | undefined); private _connLimit?; get connLimit(): number; set connLimit(value: number); resetConnLimit(): void; get connLimitInput(): number; private _grants?; get grants(): string[]; set grants(value: string[]); resetGrants(): void; get grantsInput(): string[]; private _login?; get login(): boolean | cdktf.IResolvable; set login(value: boolean | cdktf.IResolvable); resetLogin(): void; get loginInput(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _password?; get password(): string; set password(value: string); get passwordInput(): string; private _settings?; get settings(): { [key: string]: string; }; set settings(value: { [key: string]: string; }); resetSettings(): void; get settingsInput(): { [key: string]: string; }; private _permission; get permission(): MdbPostgresqlClusterUserPermissionList; putPermission(value: MdbPostgresqlClusterUserPermission[] | cdktf.IResolvable): void; resetPermission(): void; get permissionInput(): any; } export declare class MdbPostgresqlClusterUserList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MdbPostgresqlClusterUser[] | 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): MdbPostgresqlClusterUserOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster yandex_mdb_postgresql_cluster} */ export declare class MdbPostgresqlCluster extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_mdb_postgresql_cluster"; /** * Generates CDKTF code for importing a MdbPostgresqlCluster 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 MdbPostgresqlCluster to import * @param importFromId The id of the existing MdbPostgresqlCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MdbPostgresqlCluster 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/yandex-cloud/yandex/0.177.0/docs/resources/mdb_postgresql_cluster yandex_mdb_postgresql_cluster} 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 MdbPostgresqlClusterConfig */ constructor(scope: Construct, id: string, config: MdbPostgresqlClusterConfig); get createdAt(): any; private _deletionProtection?; get deletionProtection(): boolean | cdktf.IResolvable; set deletionProtection(value: boolean | cdktf.IResolvable); resetDeletionProtection(): void; get deletionProtectionInput(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _diskEncryptionKeyId?; get diskEncryptionKeyId(): string; set diskEncryptionKeyId(value: string); resetDiskEncryptionKeyId(): void; get diskEncryptionKeyIdInput(): string; private _environment?; get environment(): string; set environment(value: string); get environmentInput(): string; private _folderId?; get folderId(): string; set folderId(value: string); resetFolderId(): void; get folderIdInput(): string; get health(): any; private _hostGroupIds?; get hostGroupIds(): string[]; set hostGroupIds(value: string[]); resetHostGroupIds(): void; get hostGroupIdsInput(): string[]; private _hostMasterName?; get hostMasterName(): string; set hostMasterName(value: string); resetHostMasterName(): void; get hostMasterNameInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _networkId?; get networkId(): string; set networkId(value: string); get networkIdInput(): string; private _securityGroupIds?; get securityGroupIds(): string[]; set securityGroupIds(value: string[]); resetSecurityGroupIds(): void; get securityGroupIdsInput(): string[]; get status(): any; private _config; get config(): MdbPostgresqlClusterConfigAOutputReference; putConfig(value: MdbPostgresqlClusterConfigA): void; get configInput(): MdbPostgresqlClusterConfigA; private _database; get database(): MdbPostgresqlClusterDatabaseList; putDatabase(value: MdbPostgresqlClusterDatabase[] | cdktf.IResolvable): void; resetDatabase(): void; get databaseInput(): any; private _host; get host(): MdbPostgresqlClusterHostList; putHost(value: MdbPostgresqlClusterHost[] | cdktf.IResolvable): void; get hostInput(): any; private _maintenanceWindow; get maintenanceWindow(): MdbPostgresqlClusterMaintenanceWindowOutputReference; putMaintenanceWindow(value: MdbPostgresqlClusterMaintenanceWindow): void; resetMaintenanceWindow(): void; get maintenanceWindowInput(): MdbPostgresqlClusterMaintenanceWindow; private _restore; get restore(): MdbPostgresqlClusterRestoreOutputReference; putRestore(value: MdbPostgresqlClusterRestore): void; resetRestore(): void; get restoreInput(): MdbPostgresqlClusterRestore; private _timeouts; get timeouts(): MdbPostgresqlClusterTimeoutsOutputReference; putTimeouts(value: MdbPostgresqlClusterTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; private _user; get user(): MdbPostgresqlClusterUserList; putUser(value: MdbPostgresqlClusterUser[] | cdktf.IResolvable): void; resetUser(): void; get userInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }