AWS Security ChangesHomeSearch

AWS lambda documentation change

Service: lambda · 2025-05-22 · Documentation low

File: lambda/latest/dg/example-apps.md

Summary

Restructured documentation with new example application categories (File Processing, Database Integration, Scheduled Tasks) and added specific security-focused PDF encryption example

Security assessment

Added explicit documentation about a PDF encryption application that secures sensitive documents through automatic encryption. While this demonstrates security best practices, there's no evidence of addressing a specific vulnerability or security incident.

Diff

diff --git a/lambda/latest/dg/example-apps.md b/lambda/latest/dg/example-apps.md
index eb623cf82..f60b4fe1e 100644
--- a//lambda/latest/dg/example-apps.md
+++ b//lambda/latest/dg/example-apps.md
@@ -5 +5 @@
-Example apps
+File ProcessingDatabase IntegrationScheduled TasksAdditional resources
@@ -7 +7 @@ Example apps
-# Example serverless apps
+# Getting started with example applications and patterns
@@ -9 +9 @@ Example apps
-The following examples provide function code and infrastructure as code (IaC) templates to quickly create and deploy serverless apps that implement some common Lambda uses cases. The examples also include code examples and instructions to test the apps after you deploy them.
+The following resources can be used to quickly create and deploy serverless apps that implement some common Lambda uses cases. For each of the example apps, we provide instructions to either create and configure resources manually using the AWS Management Console, or to use the AWS Serverless Application Model to deploy the resources using IaC. Follow the console intructions to learn more about configuring the individual AWS resources for each app, or use to AWS SAM to quickly deploy resources as you would in a production environment.
@@ -11 +11 @@ The following examples provide function code and infrastructure as code (IaC) te
-For each of the example apps, we provide instructions to either create and configure resources manually using the AWS Management Console, or to use the AWS Serverless Application Model to deploy the resources using IaC. Follow the console instructions to learn more about configuring the individual AWS resources for each app, or use AWS SAM to quickly deploy resources as you would in a production environment.
+## File Processing
@@ -13 +13 @@ For each of the example apps, we provide instructions to either create and confi
-You can use the provided examples as a basis for your own serverless applications by modifying the provided function code and templates for your own use case.
+  * **[PDF Encryption Application](./file-processing-app.html)** : Create a serverless application that encrypts PDF files when they are uploaded to an Amazon Simple Storage Service bucket and saves them to another bucket, which is useful for securing sensitive documents upon upload.
@@ -15 +14,0 @@ You can use the provided examples as a basis for your own serverless application
-We're continuing to create new examples, so check back again to find more serverless apps for common Lambda use cases.
@@ -17 +15,0 @@ We're continuing to create new examples, so check back again to find more server
-## Example apps
@@ -19 +16,0 @@ We're continuing to create new examples, so check back again to find more server
-  * [Example serverless file-processing app](./file-processing-app.html)
@@ -21 +18 @@ We're continuing to create new examples, so check back again to find more server
-Create a serverless app to automatically perform a file-processing task when an object is uploaded to an Amazon S3 bucket. In this example, when a PDF file is uploaded, the app encrypts the file and saves it to another S3 bucket.
+  * **[Image Analysis Application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-s3.html)** : Create a serverless application that extracts text from images using Amazon Rekognition, which is useful for document processing, content moderation, and automated image analysis.
@@ -23 +19,0 @@ Create a serverless app to automatically perform a file-processing task when an
-  * [Example scheduled cron task app](./scheduled-task-app.html)
@@ -25 +21,32 @@ Create a serverless app to automatically perform a file-processing task when an
-Create an app to perform a scheduled task using a cron schedule. In this example, the app performs maintenance on a Amazon DynamoDB table by deleting entries more than 12 months old.
+
+
+## Database Integration
+
+  * **[Queue-to-Database Application](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-lambda-tutorial.html)** : Create a serverless application that writes queue messages to an Amazon RDS database, which is useful for processing user registrations and handling order submissions.
+
+
+
+
+  * **[Database Event Handler](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-ddb.html)** : Create a serverless application that responds to Amazon DynamoDB table changes, which is useful for audit logging, data replication, and automated workflows.
+
+
+
+
+## Scheduled Tasks
+
+  * **[Database Maintenance Application](./scheduled-task-app.html)** : Create a serverless application that automatically deletes entries more than 12 months old from an Amazon DynamoDB table using a cron schedule, which is useful for automated database maintenance and data lifecycle management.
+
+  * **[Create an EventBridge scheduled rule for Lambda functions](https://docs.aws.amazon.com/eventbridge/latest/userguide/run-lambda-schedule.html)** : Use scheduled expressions for rules in EventBridge to trigger a Lambda function on a timed schedule. This format uses cron syntax and can be set with a one-minute granularity.
+
+
+
+
+## Additional resources
+
+Use the following resources to further explore Lambda and serverless application development:
+
+  * **[Serverless Land](https://serverlessland.com/)** : a library of ready-to-use patterns for building serverless apps. It helps developers create applications faster using AWS services like Lambda, API Gateway, and EventBridge. The site offers pre-built solutions and best practices, making it easier to develop serverless systems.
+
+  * **[Lambda sample applications](https://docs.aws.amazon.com/lambda/latest/dg/lambda-samples.html)** : Applications that are available in the GitHub repository for this guide. These samples demonstrate the use of various languages and AWS services. Each sample application includes scripts for easy deployment and cleanup and supporting resources.
+
+  * **[Code examples for Lambda using AWS SDKs](https://docs.aws.amazon.com/lambda/latest/dg/service_code_examples.html)** : Examples that show you how to use Lambda with AWS software development kits (SDKs). These examples include basics, actions, scenarios, and AWS community contributions. Examples cover essential operations, individual service functions, and specific tasks using multiple functions or AWS services.
@@ -36 +63 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please
-Frequently asked questions
+Create your first function