# 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 .change_set import *
from .get_change_sets import *
from .get_stack_groups import *
from .get_stacks import *
from .get_templates import *
from .stack import *
from .stack_group import *
from .template 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:ros/changeSet:ChangeSet":
                return ChangeSet(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:ros/stack:Stack":
                return Stack(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:ros/stackGroup:StackGroup":
                return StackGroup(name, pulumi.ResourceOptions(urn=urn))
            elif typ == "alicloud:ros/template:Template":
                return Template(name, pulumi.ResourceOptions(urn=urn))
            else:
                raise Exception(f"unknown resource type {typ}")


    _module_instance = Module()
    pulumi.runtime.register_resource_module("alicloud", "ros/changeSet", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "ros/stack", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "ros/stackGroup", _module_instance)
    pulumi.runtime.register_resource_module("alicloud", "ros/template", _module_instance)

_register_module()
