pulumi/tests/integration/construct_component_plain/testcomponent-python/echo.py

21 lines
567 B
Python

# Copyright 2016-2021, Pulumi Corporation. All rights reserved.
from typing import Any, Optional
import pulumi
class Echo(pulumi.CustomResource):
def __init__(self,
resource_name: str,
echo: pulumi.Input[Any],
opts: Optional[pulumi.ResourceOptions] = None):
props = {
"echo": echo,
}
super().__init__("testprovider:index:Echo", resource_name, props, opts)
@property
@pulumi.getter
def echo(self) -> pulumi.Output[Any]:
return pulumi.get(self, "echo")