-
Notifications
You must be signed in to change notification settings - Fork 18
/
__init__.py
34 lines (25 loc) · 1.11 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
# Export this package's modules as members:
from .trigger import *
from .trigger_iam_policy 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 == "google-cloud:eventarc/v1:Trigger":
return Trigger(name, pulumi.ResourceOptions(urn=urn))
elif typ == "google-cloud:eventarc/v1:TriggerIamPolicy":
return TriggerIamPolicy(name, pulumi.ResourceOptions(urn=urn))
else:
raise Exception(f"unknown resource type {typ}")
_module_instance = Module()
pulumi.runtime.register_resource_module("google-cloud", "eventarc/v1", _module_instance)
_register_module()