def __init__(__self__, *, enable: Optional[pulumi.Input[bool]]=None, filter: Optional[pulumi.Input['RouterNatLogConfigFilter']]=None):
    "\n        Configuration of logging on a NAT.\n        :param pulumi.Input[bool] enable: Indicates whether or not to export logs. This is false by default.\n        :param pulumi.Input['RouterNatLogConfigFilter'] filter: 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. \n        "
    if (enable is not None):
        pulumi.set(__self__, 'enable', enable)
    if (filter is not None):
        pulumi.set(__self__, 'filter', filter)
Configuration of logging on a NAT.
:param pulumi.Input[bool] enable: Indicates whether or not to export logs. This is false by default.
:param pulumi.Input['RouterNatLogConfigFilter'] filter: 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.
def __init__(__self__, *, enable: Optional[pulumi.Input[bool]]=None, filter: Optional[pulumi.Input['RouterNatLogConfigFilter']]=None):
    "\n        Configuration of logging on a NAT.\n        :param pulumi.Input[bool] enable: Indicates whether or not to export logs. This is false by default.\n        :param pulumi.Input['RouterNatLogConfigFilter'] filter: 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. \n        "
    if (enable is not None):
        pulumi.set(__self__, 'enable', enable)
    if (filter is not None):
        pulumi.set(__self__, 'filter', filter)