[AWS Lab] Scheduled Lambda Invocation – EventBridge

In this lab, we will learn how to periodically invoke a lambda function via Amazon EventBridge.

  • Overview
  • Source: EventBridge
    • Build a custom Rule – Scheduling
  • Target: Lambda – Function
    • returns the current date time
    • Python
Continue reading “[AWS Lab] Scheduled Lambda Invocation – EventBridge”

[AWS Lab] Lambda – Environment Variables

In this lab, we will learn how to use environment variables in a Lambda function.

  • Overview
  • S3
    • Create a bucket
    • Upload a image file
  • Lambda – Function
    • Get the bucket name and the image name from environment variables
    • Retrieves the object properties
    • Python, boto3
Continue reading “[AWS Lab] Lambda – Environment Variables”

[AWS Lab] Lambda Invocation via Polling – DynamoDB Stream

In this lab, we will learn how a lambda function can be invoked via Polling.

  • Overview
  • Source: DynamoDB Stream
    • Create a DynamoDB Table
    • Enable the Stream
  • Target: Lambda – Function
    • logs the received message
    • does not return any value
    • configures the trigger
    • Python
Continue reading “[AWS Lab] Lambda Invocation via Polling – DynamoDB Stream”

[AWS Lab] Asynchronous Lambda Invocation – EventBridge

In this lab, we will learn how to invoke a lambda function asynchronously from Amazon EventBridge.

  • Overview
  • Source: EventBridge
    • Build a custom event Bus and add a custom event Rule
  • Target: Lambda – Function
    • logs the received event
    • does not return any value
    • Python
Continue reading “[AWS Lab] Asynchronous Lambda Invocation – EventBridge”

[AWS Lab] Lambda Invocation via Polling – SQS

In this lab, we will learn how a lambda function can be invoked via Polling.

  • Overview
  • Source: SQS
    • Create a queue and a dead-letter queue (DLQ)
  • Target: Lambda – Function
    • logs the received message
    • does not return any value
    • configures the trigger
    • Python
Continue reading “[AWS Lab] Lambda Invocation via Polling – SQS”

[AWS Lab] Asynchronous Lambda Invocation – SNS

In this lab, we will learn how to invoke a lambda function asynchronously from Amazon SNS.

  • Overview
  • Source: SNS
    • Create a topic
  • Target: Lambda – Function
    • logs the received event
    • does not return any value
    • subscribes the SNS topic
    • Python
Continue reading “[AWS Lab] Asynchronous Lambda Invocation – SNS”