GetInvocation

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

Using GetInvocation

function getInvocation(args: GetInvocationArgs, opts?: InvokeOptions): Promise<GetInvocationResult>
function  get_invocation(function_name=None, input=None, qualifier=None, opts=None)
func GetInvocation(ctx *Context, args *GetInvocationArgs, opts ...InvokeOption) (*GetInvocationResult, error)
public static class GetInvocation {
    public static Task<GetInvocationResult> InvokeAsync(GetInvocationArgs args, InvokeOptions? opts = null)
}

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.

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.

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.

ResultMap Dictionary<string, string>

(DEPRECATED) This field is set only if result is a map of primitive types, where the map is string keys and string values.

Deprecated: use result attribute with jsondecode() function

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.

ResultMap map[string]string

(DEPRECATED) This field is set only if result is a map of primitive types, where the map is string keys and string values.

Deprecated: use result attribute with jsondecode() function

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.

resultMap {[key: string]: string}

(DEPRECATED) This field is set only if result is a map of primitive types, where the map is string keys and string values.

Deprecated: use result attribute with jsondecode() function

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.

result_map Dict[str, str]

(DEPRECATED) This field is set only if result is a map of primitive types, where the map is string keys and string values.

Deprecated: use result attribute with jsondecode() function

qualifier str

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.