pulumi/tests/integration/construct_component_unknown/nodejs/component.ts

17 lines
477 B
TypeScript

// Copyright 2016-2021, Pulumi Corporation. All rights reserved.
import * as pulumi from "@pulumi/pulumi";
interface ComponentArgs {
message: pulumi.Input<string>;
nested: pulumi.Input<{
value: pulumi.Input<string>;
}>;
}
export class Component extends pulumi.ComponentResource {
constructor(name: string, args: ComponentArgs, opts?: pulumi.ComponentResourceOptions) {
super("testcomponent:index:Component", name, args, opts, true);
}
}