import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MdbShardedPostgresqlShardConfig extends cdktf.TerraformMetaArguments { /** * ID of the Sharded PostgreSQL cluster. Provided by the client when the shard is created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_shard#cluster_id MdbShardedPostgresqlShard#cluster_id} */ readonly clusterId: string; /** * Name of the Sharded PostgreSQL shard. Provided by the client when the shard is added. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_shard#name MdbShardedPostgresqlShard#name} */ readonly name: string; /** * Shard specification required to add shard into cluster. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_shard#shard_spec MdbShardedPostgresqlShard#shard_spec} */ readonly shardSpec: MdbShardedPostgresqlShardShardSpec; } export interface MdbShardedPostgresqlShardShardSpec { /** * ID of the Managed PostgreSQL cluster in Yandex Cloud. Provided by the client when the shard is added. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_shard#mdb_postgresql MdbShardedPostgresqlShard#mdb_postgresql} */ readonly mdbPostgresql?: string; } export declare function mdbShardedPostgresqlShardShardSpecToTerraform(struct?: MdbShardedPostgresqlShardShardSpec | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlShardShardSpecToHclTerraform(struct?: MdbShardedPostgresqlShardShardSpec | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlShardShardSpecOutputReference 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(): MdbShardedPostgresqlShardShardSpec | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlShardShardSpec | cdktf.IResolvable | undefined); private _mdbPostgresql?; get mdbPostgresql(): string; set mdbPostgresql(value: string); resetMdbPostgresql(): void; get mdbPostgresqlInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_shard yandex_mdb_sharded_postgresql_shard} */ export declare class MdbShardedPostgresqlShard extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_mdb_sharded_postgresql_shard"; /** * Generates CDKTF code for importing a MdbShardedPostgresqlShard 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 MdbShardedPostgresqlShard to import * @param importFromId The id of the existing MdbShardedPostgresqlShard that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_shard#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MdbShardedPostgresqlShard 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_shard yandex_mdb_sharded_postgresql_shard} 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 MdbShardedPostgresqlShardConfig */ constructor(scope: Construct, id: string, config: MdbShardedPostgresqlShardConfig); private _clusterId?; get clusterId(): string; set clusterId(value: string); get clusterIdInput(): string; get id(): any; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _shardSpec; get shardSpec(): MdbShardedPostgresqlShardShardSpecOutputReference; putShardSpec(value: MdbShardedPostgresqlShardShardSpec): void; get shardSpecInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }