sslMode

@JvmName(name = "skaarcdmjyqldbqs")
suspend fun sslMode(value: Output<String>)
@JvmName(name = "mfnngkyixcskxplb")
suspend fun sslMode(value: String?)

Parameters

value

Specify how SSL connection should be enforced in DB connections. This field provides more SSL enforcement options compared to require_ssl. To change this field, also set the correspoding value in require_ssl.

  • For PostgreSQL instances, the value pairs are listed in the API reference doc for ssl_mode field.

  • For MySQL instances, use the same value pairs as the PostgreSQL instances.

  • For SQL Server instances, set it to ALLOW_UNENCRYPTED_AND_ENCRYPTED when require_ssl=false and ENCRYPTED_ONLY otherwise.