getInvocation

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

Return

A collection of values returned by getInvocation.

Parameters

argument

A collection of arguments for invoking getInvocation.


suspend fun getInvocation(functionName: String, input: String, qualifier: String? = null): GetInvocationResult

Return

A collection of values returned by getInvocation.

See also

Parameters

functionName

Name of the lambda function.

input

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

qualifier

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


Return

A collection of values returned by getInvocation.

See also

Parameters

argument

Builder for com.pulumi.aws.lambda.kotlin.inputs.GetInvocationPlainArgs.