AWS Security ChangesHomeSearch

AWS lambda documentation change

Service: lambda · 2025-06-25 · Documentation low

File: lambda/latest/dg/example_lambda_GetFunctionConfiguration_section.md

Summary

Added PowerShell V5 examples for retrieving function configurations

Security assessment

Demonstrates inspection of security-related configurations (roles, environment variables) but doesn't introduce new security features or address vulnerabilities.

Diff

diff --git a/lambda/latest/dg/example_lambda_GetFunctionConfiguration_section.md b/lambda/latest/dg/example_lambda_GetFunctionConfiguration_section.md
index da9f4dfb1..ff3f77bc7 100644
--- a//lambda/latest/dg/example_lambda_GetFunctionConfiguration_section.md
+++ b//lambda/latest/dg/example_lambda_GetFunctionConfiguration_section.md
@@ -105,0 +106,45 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example returns the version specific configuration of a Lambda Function.**
+    
+    
+    Get-LMFunctionConfiguration -FunctionName "MylambdaFunction123" -Qualifier "PowershellAlias"
+    
+
+**Output:**
+    
+    
+    CodeSha256                 : uWOW0R7z+f0VyLuUg7+/D08hkMFsq0SF4seuyUZJ/R8=
+    CodeSize                   : 1426
+    DeadLetterConfig           : Amazon.Lambda.Model.DeadLetterConfig
+    Description                : Verson 3 to test Aliases
+    Environment                : Amazon.Lambda.Model.EnvironmentResponse
+    FunctionArn                : arn:aws:lambda:us-east-1:123456789012:function:MylambdaFunction123
+                                 :PowershellAlias
+    FunctionName               : MylambdaFunction123
+    Handler                    : lambda_function.launch_instance
+    KMSKeyArn                  : 
+    LastModified               : 2019-12-25T09:52:59.872+0000
+    LastUpdateStatus           : Successful
+    LastUpdateStatusReason     : 
+    LastUpdateStatusReasonCode : 
+    Layers                     : {}
+    MasterArn                  : 
+    MemorySize                 : 128
+    RevisionId                 : 5d7de38b-87f2-4260-8f8a-e87280e10c33
+    Role                       : arn:aws:iam::123456789012:role/service-role/lambda
+    Runtime                    : python3.8
+    State                      : Active
+    StateReason                : 
+    StateReasonCode            : 
+    Timeout                    : 600
+    TracingConfig              : Amazon.Lambda.Model.TracingConfigResponse
+    Version                    : 4
+    VpcConfig                  : Amazon.Lambda.Model.VpcConfigDetail
+
+  * For API details, see [GetFunctionConfiguration](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+