import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface PostgresqlInstanceSslConfigConfig extends cdktf.TerraformMetaArguments { /** * The unique connection address protected by SSL certificate, which can be set as the internal and external IP address if it is the primary instance; If it is a read-only instance, it can be set as the instance IP or read-only group IP. This parameter is mandatory when enabling SSL or modifying SSL protected connection addresses; When SSL is turned off, this parameter will be ignored. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config#connect_address PostgresqlInstanceSslConfig#connect_address} */ readonly connectAddress?: string; /** * Postgres instance ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config#db_instance_id PostgresqlInstanceSslConfig#db_instance_id} */ readonly dbInstanceId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config#id PostgresqlInstanceSslConfig#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; /** * Enable or disable SSL. true: enable; false: disable. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config#ssl_enabled PostgresqlInstanceSslConfig#ssl_enabled} */ readonly sslEnabled: boolean | cdktf.IResolvable; } /** * Represents a {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config tencentcloud_postgresql_instance_ssl_config} */ export declare class PostgresqlInstanceSslConfig extends cdktf.TerraformResource { static readonly tfResourceType = "tencentcloud_postgresql_instance_ssl_config"; /** * Generates CDKTF code for importing a PostgresqlInstanceSslConfig 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 PostgresqlInstanceSslConfig to import * @param importFromId The id of the existing PostgresqlInstanceSslConfig that should be imported. Refer to the {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the PostgresqlInstanceSslConfig to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/tencentcloudstack/tencentcloud/1.82.49/docs/resources/postgresql_instance_ssl_config tencentcloud_postgresql_instance_ssl_config} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options PostgresqlInstanceSslConfigConfig */ constructor(scope: Construct, id: string, config: PostgresqlInstanceSslConfigConfig); get caUrl(): any; private _connectAddress?; get connectAddress(): string; set connectAddress(value: string); resetConnectAddress(): void; get connectAddressInput(): string; private _dbInstanceId?; get dbInstanceId(): string; set dbInstanceId(value: string); get dbInstanceIdInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _sslEnabled?; get sslEnabled(): boolean | cdktf.IResolvable; set sslEnabled(value: boolean | cdktf.IResolvable); get sslEnabledInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }