pub struct PostgresqlProfile {
pub database: Option<String>,
pub hostname: Option<String>,
pub password: Option<String>,
pub port: Option<i32>,
pub secret_manager_stored_password: Option<String>,
pub ssl_config: Option<PostgresqlSslConfig>,
pub username: Option<String>,
}Expand description
PostgreSQL database profile.
This type is not used in any activity, and only used as part of another schema.
Fields§
§database: Option<String>Required. Database for the PostgreSQL connection.
hostname: Option<String>Required. Hostname for the PostgreSQL connection.
password: Option<String>Optional. Password for the PostgreSQL connection. Mutually exclusive with the secret_manager_stored_password field.
port: Option<i32>Port for the PostgreSQL connection, default value is 5432.
secret_manager_stored_password: Option<String>Optional. A reference to a Secret Manager resource name storing the PostgreSQL connection password. Mutually exclusive with the password field.
ssl_config: Option<PostgresqlSslConfig>Optional. SSL configuration for the PostgreSQL connection. In case PostgresqlSslConfig is not set, the connection will use the default SSL mode, which is prefer (i.e. this mode will only use encryption if enabled from database side, otherwise will use unencrypted communication)
username: Option<String>Required. Username for the PostgreSQL connection.
Trait Implementations§
Source§impl Clone for PostgresqlProfile
impl Clone for PostgresqlProfile
Source§fn clone(&self) -> PostgresqlProfile
fn clone(&self) -> PostgresqlProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more