import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface AppConnectionMysqlConfig extends cdktf.TerraformMetaArguments { /** * The credentials for the MySQL App Connection * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#credentials AppConnectionMysql#credentials} */ readonly credentials: AppConnectionMysqlCredentials; /** * An optional description for the MySQL App Connection. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#description AppConnectionMysql#description} */ readonly description?: string; /** * The method used to authenticate with MySQL. Possible values are: username-and-password * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#method AppConnectionMysql#method} */ readonly method: string; /** * The name of the MySQL App Connection to create. Must be slug-friendly * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#name AppConnectionMysql#name} */ readonly name: string; } export interface AppConnectionMysqlCredentials { /** * The name of the database to connect to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#database AppConnectionMysql#database} */ readonly database: string; /** * The hostname of the database server. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#host AppConnectionMysql#host} */ readonly host: string; /** * The password to connect to the database with. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#password AppConnectionMysql#password} */ readonly password: string; /** * The port number of the database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#port AppConnectionMysql#port} */ readonly port?: number; /** * The SSL certificate to use for connection. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#ssl_certificate AppConnectionMysql#ssl_certificate} */ readonly sslCertificate?: string; /** * Whether or not to use SSL when connecting to the database. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#ssl_enabled AppConnectionMysql#ssl_enabled} */ readonly sslEnabled?: boolean | cdktf.IResolvable; /** * Whether or not to reject unauthorized SSL certificates. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#ssl_reject_unauthorized AppConnectionMysql#ssl_reject_unauthorized} */ readonly sslRejectUnauthorized?: boolean | cdktf.IResolvable; /** * The username to connect to the database with. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#username AppConnectionMysql#username} */ readonly username: string; } export declare function appConnectionMysqlCredentialsToTerraform(struct?: AppConnectionMysqlCredentials | cdktf.IResolvable): any; export declare function appConnectionMysqlCredentialsToHclTerraform(struct?: AppConnectionMysqlCredentials | cdktf.IResolvable): any; export declare class AppConnectionMysqlCredentialsOutputReference 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(): AppConnectionMysqlCredentials | cdktf.IResolvable | undefined; set internalValue(value: AppConnectionMysqlCredentials | cdktf.IResolvable | undefined); private _database?; get database(): string; set database(value: string); get databaseInput(): string; private _host?; get host(): string; set host(value: string); get hostInput(): string; private _password?; get password(): string; set password(value: string); get passwordInput(): string; private _port?; get port(): number; set port(value: number); resetPort(): void; get portInput(): number; private _sslCertificate?; get sslCertificate(): string; set sslCertificate(value: string); resetSslCertificate(): void; get sslCertificateInput(): string; private _sslEnabled?; get sslEnabled(): boolean | cdktf.IResolvable; set sslEnabled(value: boolean | cdktf.IResolvable); resetSslEnabled(): void; get sslEnabledInput(): any; private _sslRejectUnauthorized?; get sslRejectUnauthorized(): boolean | cdktf.IResolvable; set sslRejectUnauthorized(value: boolean | cdktf.IResolvable); resetSslRejectUnauthorized(): void; get sslRejectUnauthorizedInput(): any; private _username?; get username(): string; set username(value: string); get usernameInput(): string; } /** * Represents a {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql infisical_app_connection_mysql} */ export declare class AppConnectionMysql extends cdktf.TerraformResource { static readonly tfResourceType = "infisical_app_connection_mysql"; /** * Generates CDKTF code for importing a AppConnectionMysql 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 AppConnectionMysql to import * @param importFromId The id of the existing AppConnectionMysql that should be imported. Refer to the {@link https://registry.terraform.io/providers/infisical/infisical/0.15.56/docs/resources/app_connection_mysql#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the AppConnectionMysql 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/infisical/infisical/0.15.56/docs/resources/app_connection_mysql infisical_app_connection_mysql} 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 AppConnectionMysqlConfig */ constructor(scope: Construct, id: string, config: AppConnectionMysqlConfig); private _credentials; get credentials(): AppConnectionMysqlCredentialsOutputReference; putCredentials(value: AppConnectionMysqlCredentials): void; get credentialsInput(): any; get credentialsHash(): any; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; get id(): any; private _method?; get method(): string; set method(value: string); get methodInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }