AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/lambda_example_lambda_UpdateFunctionConfiguration_section.md

Summary

Added PowerShell V5 example for updating Lambda function configuration with environment variables and dead letter queue

Security assessment

Demonstrates configuration updates but doesn't address specific security issues or introduce security controls

Diff

diff --git a/code-library/latest/ug/lambda_example_lambda_UpdateFunctionConfiguration_section.md b/code-library/latest/ug/lambda_example_lambda_UpdateFunctionConfiguration_section.md
index 12f8faa5e..65502938a 100644
--- a//code-library/latest/ug/lambda_example_lambda_UpdateFunctionConfiguration_section.md
+++ b//code-library/latest/ug/lambda_example_lambda_UpdateFunctionConfiguration_section.md
@@ -326,0 +327,14 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example updates the existing Lambda Function Configuration**
+    
+    
+    Update-LMFunctionConfiguration -FunctionName "MylambdaFunction123" -Handler "lambda_function.launch_instance" -Timeout 600 -Environment_Variable @{ "envvar1"="value";"envvar2"="value" } -Role arn:aws:iam::123456789101:role/service-role/lambda -DeadLetterConfig_TargetArn arn:aws:sns:us-east-1: 123456789101:MyfirstTopic
+    
+
+  * For API details, see [UpdateFunctionConfiguration](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+