# 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! ***

# Export this package's modules as members:
from .alias import *
from .custom_domain import *
from .function import *
from .function_async_invoke_config import *
from .get_custom_domains import *
from .get_functions import *
from .get_service import *
from .get_services import *
from .get_triggers import *
from .get_zones import *
from .service import *
from .trigger import *
from ._inputs import *
from . import outputs

def _register_module():
    import pulumi
    from .. import _utilities


    class Module(pulumi.runtime.ResourceModule):
        _version = _utilities.get_semver_version()

        def version(self):
            return Module._version

        def construct(self, name: str, typ: str, urn: str) -> pulumi.Resource:
            if typ == "alicloud:fc/alias:Alias":
                return Alias(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:fc/customDomain:CustomDomain":
                return CustomDomain(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:fc/function:Function":
                return Function(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:fc/functionAsyncInvokeConfig:FunctionAsyncInvokeConfig":
                return FunctionAsyncInvokeConfig(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:fc/service:Service":
                return Service(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:fc/trigger:Trigger":
                return Trigger(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("alicloud", "fc/alias", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "fc/customDomain", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "fc/function", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "fc/functionAsyncInvokeConfig", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "fc/service", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "fc/trigger", _module_instance)

_register_module()
