AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getInvocation

Use this data source to invoke custom lambda functions as data source. The lambda function is invoked with RequestResponse invocation type.

Using getInvocation

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInvocation(args: GetInvocationArgs, opts?: InvokeOptions): Promise<GetInvocationResult>
function getInvocationOutput(args: GetInvocationOutputArgs, opts?: InvokeOptions): Output<GetInvocationResult>
def get_invocation(function_name: Optional[str] = None,
                   input: Optional[str] = None,
                   qualifier: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetInvocationResult
def get_invocation_output(function_name: Optional[pulumi.Input[str]] = None,
                   input: Optional[pulumi.Input[str]] = None,
                   qualifier: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetInvocationResult]
func LookupInvocation(ctx *Context, args *LookupInvocationArgs, opts ...InvokeOption) (*LookupInvocationResult, error)
func LookupInvocationOutput(ctx *Context, args *LookupInvocationOutputArgs, opts ...InvokeOption) LookupInvocationResultOutput

> Note: This function is named LookupInvocation in the Go SDK.

public static class GetInvocation 
{
    public static Task<GetInvocationResult> InvokeAsync(GetInvocationArgs args, InvokeOptions? opts = null)
    public static Output<GetInvocationResult> Invoke(GetInvocationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInvocationResult> getInvocation(GetInvocationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:lambda/getInvocation:getInvocation
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FunctionName string

The name of the lambda function.

Input string

A string in JSON format that is passed as payload to the lambda function.

Qualifier string

The qualifier (a.k.a version) of the lambda function. Defaults to $LATEST.

FunctionName string

The name of the lambda function.

Input string

A string in JSON format that is passed as payload to the lambda function.

Qualifier string

The qualifier (a.k.a version) of the lambda function. Defaults to $LATEST.

functionName String

The name of the lambda function.

input String

A string in JSON format that is passed as payload to the lambda function.

qualifier String

The qualifier (a.k.a version) of the lambda function. Defaults to $LATEST.

functionName string

The name of the lambda function.

input string

A string in JSON format that is passed as payload to the lambda function.

qualifier string

The qualifier (a.k.a version) of the lambda function. Defaults to $LATEST.

function_name str

The name of the lambda function.

input str

A string in JSON format that is passed as payload to the lambda function.

qualifier str

The qualifier (a.k.a version) of the lambda function. Defaults to $LATEST.

functionName String

The name of the lambda function.

input String

A string in JSON format that is passed as payload to the lambda function.

qualifier String

The qualifier (a.k.a version) of the lambda function. Defaults to $LATEST.

getInvocation Result

The following output properties are available:

FunctionName string
Id string

The provider-assigned unique ID for this managed resource.

Input string
Result string

String result of the lambda function invocation.

Qualifier string
FunctionName string
Id string

The provider-assigned unique ID for this managed resource.

Input string
Result string

String result of the lambda function invocation.

Qualifier string
functionName String
id String

The provider-assigned unique ID for this managed resource.

input String
result String

String result of the lambda function invocation.

qualifier String
functionName string
id string

The provider-assigned unique ID for this managed resource.

input string
result string

String result of the lambda function invocation.

qualifier string
function_name str
id str

The provider-assigned unique ID for this managed resource.

input str
result str

String result of the lambda function invocation.

qualifier str
functionName String
id String

The provider-assigned unique ID for this managed resource.

input String
result String

String result of the lambda function invocation.

qualifier String

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.