pulumi/tests/integration/construct_component/python/component.py

17 lines
525 B
Python

# Copyright 2016-2020, Pulumi Corporation. All rights reserved.
from typing import Any, Optional
import pulumi
class Component(pulumi.ComponentResource):
echo: pulumi.Output[Any]
childId: pulumi.Output[str]
def __init__(self, name: str, echo: pulumi.Input[Any], opts: Optional[pulumi.ResourceOptions] = None):
props = dict()
props["echo"] = echo
props["childId"] = None
props["secret"] = None
super().__init__("testcomponent:index:Component", name, props, opts, True)