pulumi/tests/integration/construct_component_methods.../nodejs/random.ts

16 lines
483 B
TypeScript

// Copyright 2016-2021, Pulumi Corporation. All rights reserved.
import * as pulumi from "@pulumi/pulumi";
interface RandomArgs {
length: pulumi.Input<number>;
}
export class Random extends pulumi.CustomResource {
public readonly length!: pulumi.Output<number>;
public readonly result!: pulumi.Output<string>;
constructor(name: string, args: RandomArgs, opts?: pulumi.CustomResourceOptions) {
super("testprovider:index:Random", name, args, opts);
}
}