pulumi/tests/integration/transformations/nodejs/simple/random.ts

17 lines
530 B
TypeScript

// Copyright 2016-2021, Pulumi Corporation. All rights reserved.
import * as pulumi from "@pulumi/pulumi";
interface RandomArgs {
length: pulumi.Input<number>;
prefix?: pulumi.Input<string | undefined>;
}
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);
}
}