import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MdbShardedPostgresqlDatabaseConfig extends cdktf.TerraformMetaArguments { /** * ID of the Sharded PostgreSQL cluster. Provided by the client when the user is created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_database#cluster_id MdbShardedPostgresqlDatabase#cluster_id} */ readonly clusterId: string; /** * Name of the Sharded PostgreSQL user. Provided by the client when the user is created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_database#name MdbShardedPostgresqlDatabase#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_database#timeouts MdbShardedPostgresqlDatabase#timeouts} */ readonly timeouts?: MdbShardedPostgresqlDatabaseTimeouts; } export interface MdbShardedPostgresqlDatabaseTimeouts { /** * 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_database#create MdbShardedPostgresqlDatabase#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_database#delete MdbShardedPostgresqlDatabase#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_database#update MdbShardedPostgresqlDatabase#update} */ readonly update?: string; } export declare function mdbShardedPostgresqlDatabaseTimeoutsToTerraform(struct?: MdbShardedPostgresqlDatabaseTimeouts | cdktf.IResolvable): any; export declare function mdbShardedPostgresqlDatabaseTimeoutsToHclTerraform(struct?: MdbShardedPostgresqlDatabaseTimeouts | cdktf.IResolvable): any; export declare class MdbShardedPostgresqlDatabaseTimeoutsOutputReference 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(): MdbShardedPostgresqlDatabaseTimeouts | cdktf.IResolvable | undefined; set internalValue(value: MdbShardedPostgresqlDatabaseTimeouts | 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_database yandex_mdb_sharded_postgresql_database} */ export declare class MdbShardedPostgresqlDatabase extends cdktf.TerraformResource { static readonly tfResourceType = "yandex_mdb_sharded_postgresql_database"; /** * Generates CDKTF code for importing a MdbShardedPostgresqlDatabase 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 MdbShardedPostgresqlDatabase to import * @param importFromId The id of the existing MdbShardedPostgresqlDatabase that should be imported. Refer to the {@link https://registry.terraform.io/providers/yandex-cloud/yandex/0.177.0/docs/resources/mdb_sharded_postgresql_database#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MdbShardedPostgresqlDatabase 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_database yandex_mdb_sharded_postgresql_database} 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 MdbShardedPostgresqlDatabaseConfig */ constructor(scope: Construct, id: string, config: MdbShardedPostgresqlDatabaseConfig); 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 _timeouts; get timeouts(): MdbShardedPostgresqlDatabaseTimeoutsOutputReference; putTimeouts(value: MdbShardedPostgresqlDatabaseTimeouts): void; resetTimeouts(): void; get timeoutsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }