import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MdbShardedPostgresqlClusterConfig extends cdktf.TerraformMetaArguments { /** * Configuration of the Sharded PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#config MdbShardedPostgresqlCluster#config} */ readonly config: MdbShardedPostgresqlClusterConfigA; /** * 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_sharded_postgresql_cluster#deletion_protection MdbShardedPostgresqlCluster#deletion_protection} */ readonly deletionProtection?: boolean | cdktf.IResolvable; /** * Description of the Sharded PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#description MdbShardedPostgresqlCluster#description} */ readonly description?: 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_sharded_postgresql_cluster#environment MdbShardedPostgresqlCluster#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_sharded_postgresql_cluster#folder_id MdbShardedPostgresqlCluster#folder_id} */ readonly folderId?: string; /** * A host configuration of the PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#hosts MdbShardedPostgresqlCluster#hosts} */ readonly hosts: { [key: string]: MdbShardedPostgresqlClusterHosts; } | cdktf.IResolvable; /** * 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_sharded_postgresql_cluster#labels MdbShardedPostgresqlCluster#labels} */ readonly labels?: { [key: string]: string; }; /** * Maintenance policy of the PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#maintenance_window MdbShardedPostgresqlCluster#maintenance_window} */ readonly maintenanceWindow?: MdbShardedPostgresqlClusterMaintenanceWindow; /** * Name of the Sharded PostgreSQL cluster. Provided by the client when the cluster is created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#name MdbShardedPostgresqlCluster#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_sharded_postgresql_cluster#network_id MdbShardedPostgresqlCluster#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_sharded_postgresql_cluster#security_group_ids MdbShardedPostgresqlCluster#security_group_ids} */ readonly securityGroupIds?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#timeouts MdbShardedPostgresqlCluster#timeouts} */ readonly timeouts?: MdbShardedPostgresqlClusterTimeouts; } export interface MdbShardedPostgresqlClusterConfigAccess { /** * Allow access for Yandex DataLens. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#data_lens MdbShardedPostgresqlCluster#data_lens} */ readonly dataLens?: boolean | cdktf.IResolvable; /** * Allow access for DataTransfer * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#data_transfer MdbShardedPostgresqlCluster#data_transfer} */ readonly dataTransfer?: boolean | cdktf.IResolvable; /** * Allow access for connection to managed databases from functions * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#serverless MdbShardedPostgresqlCluster#serverless} */ readonly serverless?: boolean | cdktf.IResolvable; /** * Allow access for SQL queries in the management console * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#web_sql MdbShardedPostgresqlCluster#web_sql} */ readonly webSql?: boolean | cdktf.IResolvable; } export declare function mdbShardedPostgresqlClusterConfigAccessToTerraform(struct?: MdbShardedPostgresqlClusterConfigAccess | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigAccessToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigAccess | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigAccessOutputReference 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(): MdbShardedPostgresqlClusterConfigAccess | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigAccess | cdktf.IResolvable | 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 MdbShardedPostgresqlClusterConfigBackupWindowStart { /** * 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_sharded_postgresql_cluster#hours MdbShardedPostgresqlCluster#hours} */ readonly hours?: number; /** * The minute 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_sharded_postgresql_cluster#minutes MdbShardedPostgresqlCluster#minutes} */ readonly minutes?: number; } export declare function mdbShardedPostgresqlClusterConfigBackupWindowStartToTerraform(struct?: MdbShardedPostgresqlClusterConfigBackupWindowStart | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigBackupWindowStartToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigBackupWindowStart | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigBackupWindowStartOutputReference 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(): MdbShardedPostgresqlClusterConfigBackupWindowStart | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigBackupWindowStart | cdktf.IResolvable | 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 MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources { /** * Size of the disk in bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#disk_size MdbShardedPostgresqlCluster#disk_size} */ readonly diskSize: number; /** * ID of the disk type that determines the disk performance characteristics. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#disk_type_id MdbShardedPostgresqlCluster#disk_type_id} */ readonly diskTypeId: string; /** * ID of the resource preset that determines the number of CPU cores and memory size for the host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#resource_preset_id MdbShardedPostgresqlCluster#resource_preset_id} */ readonly resourcePresetId: string; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResourcesToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResourcesToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResourcesOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources | cdktf.IResolvable | undefined); private _diskSize?; get diskSize(): number; set diskSize(value: number); get diskSizeInput(): number; private _diskTypeId?; get diskTypeId(): string; set diskTypeId(value: string); get diskTypeIdInput(): string; private _resourcePresetId?; get resourcePresetId(): string; set resourcePresetId(value: string); get resourcePresetIdInput(): string; } export interface MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator { /** * Coordinator settings. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#config MdbShardedPostgresqlCluster#config} */ readonly config?: { [key: string]: string; }; /** * Resources allocated to routers of the Sharded PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#resources MdbShardedPostgresqlCluster#resources} */ readonly resources: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator | cdktf.IResolvable | undefined); private _config?; get config(): { [key: string]: string; }; set config(value: { [key: string]: string; }); resetConfig(): void; get configInput(): { [key: string]: string; }; private _resources; get resources(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResourcesOutputReference; putResources(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorResources): void; get resourcesInput(): any; } export interface MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources { /** * Size of the disk in bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#disk_size MdbShardedPostgresqlCluster#disk_size} */ readonly diskSize: number; /** * ID of the disk type that determines the disk performance characteristics. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#disk_type_id MdbShardedPostgresqlCluster#disk_type_id} */ readonly diskTypeId: string; /** * ID of the resource preset that determines the number of CPU cores and memory size for the host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#resource_preset_id MdbShardedPostgresqlCluster#resource_preset_id} */ readonly resourcePresetId: string; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResourcesToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResourcesToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResourcesOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources | cdktf.IResolvable | undefined); private _diskSize?; get diskSize(): number; set diskSize(value: number); get diskSizeInput(): number; private _diskTypeId?; get diskTypeId(): string; set diskTypeId(value: string); get diskTypeIdInput(): string; private _resourcePresetId?; get resourcePresetId(): string; set resourcePresetId(value: string); get resourcePresetIdInput(): string; } export interface MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra { /** * Coordinator settings. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#coordinator MdbShardedPostgresqlCluster#coordinator} */ readonly coordinator?: { [key: string]: string; }; /** * Resources allocated to routers of the Sharded PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#resources MdbShardedPostgresqlCluster#resources} */ readonly resources: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources; /** * Router settings. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#router MdbShardedPostgresqlCluster#router} */ readonly router?: { [key: string]: string; }; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra | cdktf.IResolvable | undefined); private _coordinator?; get coordinator(): { [key: string]: string; }; set coordinator(value: { [key: string]: string; }); resetCoordinator(): void; get coordinatorInput(): { [key: string]: string; }; private _resources; get resources(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResourcesOutputReference; putResources(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraResources): void; get resourcesInput(): any; private _router?; get router(): { [key: string]: string; }; set router(value: { [key: string]: string; }); resetRouter(): void; get routerInput(): { [key: string]: string; }; } export interface MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources { /** * Size of the disk in bytes. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#disk_size MdbShardedPostgresqlCluster#disk_size} */ readonly diskSize: number; /** * ID of the disk type that determines the disk performance characteristics. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#disk_type_id MdbShardedPostgresqlCluster#disk_type_id} */ readonly diskTypeId: string; /** * ID of the resource preset that determines the number of CPU cores and memory size for the host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#resource_preset_id MdbShardedPostgresqlCluster#resource_preset_id} */ readonly resourcePresetId: string; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResourcesToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResourcesToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResourcesOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources | cdktf.IResolvable | undefined); private _diskSize?; get diskSize(): number; set diskSize(value: number); get diskSizeInput(): number; private _diskTypeId?; get diskTypeId(): string; set diskTypeId(value: string); get diskTypeIdInput(): string; private _resourcePresetId?; get resourcePresetId(): string; set resourcePresetId(value: string); get resourcePresetIdInput(): string; } export interface MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter { /** * Router settings. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#config MdbShardedPostgresqlCluster#config} */ readonly config?: { [key: string]: string; }; /** * Resources allocated to routers of the Sharded PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#resources MdbShardedPostgresqlCluster#resources} */ readonly resources: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter | cdktf.IResolvable | undefined); private _config?; get config(): { [key: string]: string; }; set config(value: { [key: string]: string; }); resetConfig(): void; get configInput(): { [key: string]: string; }; private _resources; get resources(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResourcesOutputReference; putResources(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterResources): void; get resourcesInput(): any; } export interface MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig { /** * Balancer specific configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#balancer MdbShardedPostgresqlCluster#balancer} */ readonly balancer?: { [key: string]: string; }; /** * General settings for all types of hosts. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#common MdbShardedPostgresqlCluster#common} */ readonly common?: { [key: string]: string; }; /** * Coordinator specific configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#coordinator MdbShardedPostgresqlCluster#coordinator} */ readonly coordinator?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#infra MdbShardedPostgresqlCluster#infra} */ readonly infra?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra; /** * Router specific configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#router MdbShardedPostgresqlCluster#router} */ readonly router?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter; } export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigToTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigShardedPostgresqlConfigToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigOutputReference 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(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig | cdktf.IResolvable | undefined); private _balancer?; get balancer(): { [key: string]: string; }; set balancer(value: { [key: string]: string; }); resetBalancer(): void; get balancerInput(): { [key: string]: string; }; private _common?; get common(): { [key: string]: string; }; set common(value: { [key: string]: string; }); resetCommon(): void; get commonInput(): { [key: string]: string; }; private _coordinator; get coordinator(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinatorOutputReference; putCoordinator(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigCoordinator): void; resetCoordinator(): void; get coordinatorInput(): any; private _infra; get infra(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfraOutputReference; putInfra(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigInfra): void; resetInfra(): void; get infraInput(): any; private _router; get router(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouterOutputReference; putRouter(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigRouter): void; resetRouter(): void; get routerInput(): any; } export interface MdbShardedPostgresqlClusterConfigA { /** * Access policy to the Sharded PostgreSQL cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#access MdbShardedPostgresqlCluster#access} */ readonly access?: MdbShardedPostgresqlClusterConfigAccess; /** * 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_sharded_postgresql_cluster#backup_retain_period_days MdbShardedPostgresqlCluster#backup_retain_period_days} */ readonly backupRetainPeriodDays?: number; /** * Time to start the daily backup, in the UTC timezone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#backup_window_start MdbShardedPostgresqlCluster#backup_window_start} */ readonly backupWindowStart?: MdbShardedPostgresqlClusterConfigBackupWindowStart; /** * Sharded PostgreSQL cluster configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#sharded_postgresql_config MdbShardedPostgresqlCluster#sharded_postgresql_config} */ readonly shardedPostgresqlConfig: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig; } export declare function mdbShardedPostgresqlClusterConfigAToTerraform(struct?: MdbShardedPostgresqlClusterConfigA | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterConfigAToHclTerraform(struct?: MdbShardedPostgresqlClusterConfigA | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterConfigAOutputReference 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(): MdbShardedPostgresqlClusterConfigA | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterConfigA | cdktf.IResolvable | undefined); private _access; get access(): MdbShardedPostgresqlClusterConfigAccessOutputReference; putAccess(value: MdbShardedPostgresqlClusterConfigAccess): void; resetAccess(): void; get accessInput(): any; private _backupRetainPeriodDays?; get backupRetainPeriodDays(): number; set backupRetainPeriodDays(value: number); resetBackupRetainPeriodDays(): void; get backupRetainPeriodDaysInput(): number; private _backupWindowStart; get backupWindowStart(): MdbShardedPostgresqlClusterConfigBackupWindowStartOutputReference; putBackupWindowStart(value: MdbShardedPostgresqlClusterConfigBackupWindowStart): void; resetBackupWindowStart(): void; get backupWindowStartInput(): any; private _shardedPostgresqlConfig; get shardedPostgresqlConfig(): MdbShardedPostgresqlClusterConfigShardedPostgresqlConfigOutputReference; putShardedPostgresqlConfig(value: MdbShardedPostgresqlClusterConfigShardedPostgresqlConfig): void; get shardedPostgresqlConfigInput(): any; } export interface MdbShardedPostgresqlClusterHosts { /** * Assign a public IP address to the host. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#assign_public_ip MdbShardedPostgresqlCluster#assign_public_ip} */ readonly assignPublicIp?: boolean | cdktf.IResolvable; /** * ID of the subnet where the host is located. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#subnet_id MdbShardedPostgresqlCluster#subnet_id} */ readonly subnetId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#type MdbShardedPostgresqlCluster#type} */ readonly type: string; /** * The availability zone where the host is located. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#zone MdbShardedPostgresqlCluster#zone} */ readonly zone: string; } export declare function mdbShardedPostgresqlClusterHostsToTerraform(struct?: MdbShardedPostgresqlClusterHosts | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterHostsToHclTerraform(struct?: MdbShardedPostgresqlClusterHosts | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterHostsOutputReference 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 complexObjectKey the key of this item in the map */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectKey: string); get internalValue(): MdbShardedPostgresqlClusterHosts | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterHosts | 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 _subnetId?; get subnetId(): string; set subnetId(value: string); resetSubnetId(): void; get subnetIdInput(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string; private _zone?; get zone(): string; set zone(value: string); get zoneInput(): string; } export declare class MdbShardedPostgresqlClusterHostsMap extends cdktf.ComplexMap { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; internalValue?: { [key: string]: MdbShardedPostgresqlClusterHosts; } | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); /** * @param key the key of the item to return */ get(key: string): MdbShardedPostgresqlClusterHostsOutputReference; } export interface MdbShardedPostgresqlClusterMaintenanceWindow { /** * 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_sharded_postgresql_cluster#day MdbShardedPostgresqlCluster#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_sharded_postgresql_cluster#hour MdbShardedPostgresqlCluster#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_sharded_postgresql_cluster#type MdbShardedPostgresqlCluster#type} */ readonly type?: string; } export declare function mdbShardedPostgresqlClusterMaintenanceWindowToTerraform(struct?: MdbShardedPostgresqlClusterMaintenanceWindow | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterMaintenanceWindowToHclTerraform(struct?: MdbShardedPostgresqlClusterMaintenanceWindow | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterMaintenanceWindowOutputReference 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(): MdbShardedPostgresqlClusterMaintenanceWindow | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterMaintenanceWindow | cdktf.IResolvable | 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); resetType(): void; get typeInput(): string; } export interface MdbShardedPostgresqlClusterTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#create MdbShardedPostgresqlCluster#create} */ readonly create?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#delete MdbShardedPostgresqlCluster#delete} */ readonly delete?: string; /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster#update MdbShardedPostgresqlCluster#update} */ readonly update?: string; } export declare function mdbShardedPostgresqlClusterTimeoutsToTerraform(struct?: MdbShardedPostgresqlClusterTimeouts | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlClusterTimeoutsToHclTerraform(struct?: MdbShardedPostgresqlClusterTimeouts | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlClusterTimeoutsOutputReference 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(): MdbShardedPostgresqlClusterTimeouts | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlClusterTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_cluster yandex_mdb_sharded_postgresql_cluster} */ export declare class MdbShardedPostgresqlCluster extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_mdb_sharded_postgresql_cluster"; /** * Generates CDKTF code for importing a MdbShardedPostgresqlCluster 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 MdbShardedPostgresqlCluster to import * @param importFromId The id of the existing MdbShardedPostgresqlCluster that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_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 MdbShardedPostgresqlCluster 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_sharded_postgresql_cluster yandex_mdb_sharded_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 MdbShardedPostgresqlClusterConfig */ constructor(scope: Construct, id: string, config: MdbShardedPostgresqlClusterConfig); private _config; get config(): MdbShardedPostgresqlClusterConfigAOutputReference; putConfig(value: MdbShardedPostgresqlClusterConfigA): void; get configInput(): 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 _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; private _hosts; get hosts(): MdbShardedPostgresqlClusterHostsMap; putHosts(value: { [key: string]: MdbShardedPostgresqlClusterHosts; } | cdktf.IResolvable): void; get hostsInput(): any; get id(): any; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; }; private _maintenanceWindow; get maintenanceWindow(): MdbShardedPostgresqlClusterMaintenanceWindowOutputReference; putMaintenanceWindow(value: MdbShardedPostgresqlClusterMaintenanceWindow): void; resetMaintenanceWindow(): void; get maintenanceWindowInput(): any; 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[]; private _timeouts; get timeouts(): MdbShardedPostgresqlClusterTimeoutsOutputReference; putTimeouts(value: MdbShardedPostgresqlClusterTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }