Invoke Invoke

yaml
type: "io.kestra.plugin.aws.lambda.Invoke"

Invoke Lambda function and wait for its completion.

Examples

Invoke given Lambda function and wait for its completion.

yaml
id: "invoke"
type: "io.kestra.plugin.aws.lambda.Invoke"
functionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function"

Invoke given Lambda function with given payload parameters and wait for its completion. Payload is a map of items.

yaml
id: "invoke"
type: "io.kestra.plugin.aws.lambda.Invoke"
functionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function"
functionPayload:
  id: 1
  firstname: "John"
  lastname: "Doe"

Properties

functionArn

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The Lambda function name.

accessKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

The Access Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

compatibilityMode

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

endpointOverride

  • Type: string
  • Dynamic: ✔️
  • Required:

The endpoint with which the SDK should communicate.

Should normally not be used except for local development.

functionPayload

  • Type: object
  • Dynamic: ✔️
  • Required:

Function request payload.

Request payload. It's a map of string -> object.

region

  • Type: string
  • Dynamic: ✔️
  • Required:

The region with which the SDK should communicate.

secretKeyId

  • Type: string
  • Dynamic: ✔️
  • Required:

The Secret Key Id in order to connect to AWS

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

sessionToken

  • Type: string
  • Dynamic: ✔️
  • Required:

The he AWS session token, retrieved from an AWS token service, used for authenticating that this user has received temporary permission to access some resource.

If no connection is defined, we will use default DefaultCredentialsProvider that will try to guess the value

Outputs

contentLength

  • Type: integer

Size of the response content in bytes.

contentType

  • Type: string

A standard MIME type describing the format of the content.

uri

  • Type: string

Response file URI.

versionId

  • Type: string

Version of the object.

Metrics

file.size

  • Type: counter

duration

  • Type: timer