pulumi/tests/integration/construct_component_plain/dotnet/Component.cs
Justin Van Patten f7cc19f89d
[sdk/nodejs] Keep prompt values prompt in construct (#6522)
In order to support prompt values in multi-lang components, if an input value is prompt, keep it as-is instead of wrapping it in an Output.
2021-04-09 14:36:22 -07:00

22 lines
508 B
C#

// Copyright 2016-2021, Pulumi Corporation. All rights reserved.
using Pulumi;
class Component : Pulumi.ComponentResource
{
public Component(string name, ComponentArgs? args = null, ComponentResourceOptions? opts = null)
: base("testcomponent:index:Component", name, args ?? ResourceArgs.Empty, opts, remote: true)
{
}
}
public sealed class ComponentArgs : Pulumi.ResourceArgs
{
[Input("children")]
public int? Children { get; set; }
public ComponentArgs()
{
}
}