# coding=utf-8
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import builtins as _builtins
import warnings
import sys
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
if sys.version_info >= (3, 11):
    from typing import NotRequired, TypedDict, TypeAlias
else:
    from typing_extensions import NotRequired, TypedDict, TypeAlias
from .. import _utilities

import types

__config__ = pulumi.Config('improvmx')


class _ExportableConfig(types.ModuleType):
    @_builtins.property
    def api_token(self) -> Optional[str]:
        """
        The ImprovMX API token. Can also be set via IMPROVMX_API_TOKEN env var.
        """
        return __config__.get('apiToken')

    @_builtins.property
    def auto_check_dns(self) -> Optional[bool]:
        """
        Automatically trigger DNS validation after domain create/update/read to activate forwarding. Defaults to true.
        """
        return __config__.get_bool('autoCheckDns')

