pulumi/tests/testdata/codegen/simplified-invokes-pp/nodejs/simplified-invokes.ts

9 lines
394 B
TypeScript

import * as pulumi from "@pulumi/pulumi";
import * as std from "@pulumi/std";
const everyArg = std.AbsMultiArgs(10, 20, 30);
const onlyRequiredArgs = std.AbsMultiArgs(10);
const optionalArgs = std.AbsMultiArgs(10, undefined, 30);
const nestedUse = Promise.all([everyArg, std.AbsMultiArgs(42)]).then(([everyArg, invoke]) => std.AbsMultiArgs(everyArg, invoke));
export const result = nestedUse;