mirror of https://github.com/pulumi/pulumi.git
5.7 KiB
5.7 KiB
title: "funcWithConstInput" title_tag: "mypkg.funcWithConstInput" meta_desc: "Documentation for the mypkg.funcWithConstInput function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Codegen demo with const inputs
Using funcWithConstInput
function funcWithConstInput(args: FuncWithConstInputArgs, opts?: InvokeOptions): Promise<FuncWithConstInputResult>
def func_with_const_input(plain_input: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> FuncWithConstInputResult
func FuncWithConstInput(ctx *Context, args *FuncWithConstInputArgs, opts ...InvokeOption) (*FuncWithConstInputResult, error)
> Note: This function is named FuncWithConstInput
in the Go SDK.
public static class FuncWithConstInput
{
public static Task<FuncWithConstInputResult> InvokeAsync(FuncWithConstInputArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<FuncWithConstInputResult> funcWithConstInput(FuncWithConstInputArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mypkg:funcWithConstInput
arguments:
# arguments dictionary
The following arguments are supported:
funcWithConstInput Result
The following output properties are available:
Package Details
- Repository
- mypkg
- License