pulumi/tests/testdata/codegen/components-pp/nodejs/another-component.ts

17 lines
516 B
TypeScript

import * as pulumi from "@pulumi/pulumi";
import * as random from "@pulumi/random";
export class AnotherComponent extends pulumi.ComponentResource {
constructor(name: string, opts?: pulumi.ComponentResourceOptions) {
super("components:index:AnotherComponent", name, {}, opts);
const firstPassword = new random.RandomPassword(`${name}-firstPassword`, {
length: 16,
special: true,
}, {
parent: this,
});
this.registerOutputs();
}
}