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

15 lines
466 B
Python

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