# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities

import types

__config__ = pulumi.Config('sentry')


class _ExportableConfig(types.ModuleType):
    @property
    def base_url(self) -> Optional[str]:
        """
        The Sentry Base API URL
        """
        return __config__.get('baseUrl') or _utilities.get_env('SENTRY_BASE_URL')

    @property
    def token(self) -> Optional[str]:
        """
        The authentication token used to connect to Sentry
        """
        return __config__.get('token') or _utilities.get_env('SENTRY_TOKEN')

