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

Name of the lambda function.

Input string

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

Qualifier string

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

FunctionName string

Name of the lambda function.

Input string

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

Qualifier string

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

functionName String

Name of the lambda function.

input String

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

qualifier String

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

functionName string

Name of the lambda function.

input string

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

qualifier string

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

function_name str

Name of the lambda function.

input str

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

qualifier str

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

functionName String

Name of the lambda function.

input String

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

qualifier String

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.