Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To create an AWS Lambda Function Task template, navigate to Tasks and select + New Task button. In the Type drop down, click on Create AWS Lambda Function Creation.

...

2. Fill in the field values required for task template creation:

...

  • Handler - Follow the example syntax to create. (Example for Java 8: example.Hello::handleRequest)

  • IAM Role - Fetched from AWS.

  • Runtime - Select the language to write the function. java8 functions Java 8 is supported at this time.

3. Select the Save button to save the task template.

...

  • Action - Select Create from the drop down to trigger function creation.

  • AWS Tool - Select the AWS Tool that matches the tool used in template creation in Tasks.

  • Lambda Function ↔︎ S3 Push Mapping - Select the Lambda function templates and map it to the respective s3 step(s).

    • Select Lambda Function - Select the Lambda function templates created in Tasks.

    • Select S3 Push Step - Select the S3 Push Step to map the function to. If the user has one s3 step and multiple functions - the user can map out multiple functions to one s3 step. Alternatively if the user has multiple functions and multiple s3 steps in , the pipeline the user can also map individual out the functions to different their individually intended s3 steps thereby giving them the ability to create multiple functions as part of one pipeline step.

...

Pipeline Logs

As the pipeline runs the user will get logs regarding the success for failure of each function that the user is trying to create. To view them, navigate to the Summary tab and view Pipeline Logs table. Logs will generate a message per each function that has been created

...


Frequently Asked Questions

Question

Answer

1

What are the possibilities that the handler of a given lambda function will get updated ?

  • Case 1: User created a function and has a typo mistake in Handler , So user realizes and will update the handler.

  • Case 2: User wants to map the lambda function with a different handler.

Note: Handler is nothing but a function or a method with complete path for a runtime ( eg: java)

2

How many handlers can be mapped to one function ?

One function will always map to one handler [ 1-1 mapping]

3

How many lambda functions can be created from one source ( eg: jar file) ?

Can create as many number of the functions , all functions will be pointed to the same source.

4

How does the data Flow ?

  • Step 1: Connect to maven repo and build a jar file

  • Step 2:Push the jar file to S3 location

    • Pass bucket and artifacts details from Step2 to Step3

  • Step 3: Use s3 location and fill the data in step form

    • Persist the data in mongoDB and stream to Kafka Topic during runtime

    • Application listens kafka topic && Create Function through async process and post the status to kafka topic