RouterNatLogConfigArgs

data class RouterNatLogConfigArgs(val enable: Output<Boolean>? = null, val filter: Output<RouterNatLogConfigFilter>? = null) : ConvertibleToJava<RouterNatLogConfigArgs>

Configuration of logging on a NAT.

Constructors

Link copied to clipboard
fun RouterNatLogConfigArgs(enable: Output<Boolean>? = null, filter: Output<RouterNatLogConfigFilter>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RouterNatLogConfigArgs

Properties

Link copied to clipboard
val enable: Output<Boolean>? = null

Indicates whether or not to export logs. This is false by default.

Link copied to clipboard
val filter: Output<RouterNatLogConfigFilter>? = null

Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful.