File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Libraries/src/Amazon.Lambda.TestUtilities Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1313 "ChangelogMessages" : [
1414 " Add missing TraceId property on the ILambdaContext"
1515 ]
16- }
16+ },
17+ {
18+ "Name" : " Amazon.Lambda.TestUtilities" ,
19+ "Type" : " Patch" ,
20+ "ChangelogMessages" : [
21+ " Add missing TraceId property on the ILambdaContext"
22+ ]
23+ }
1724 ]
1825}
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33using System . Linq ;
44using System . Threading . Tasks ;
@@ -70,5 +70,15 @@ public class TestLambdaContext : ILambdaContext
7070 /// Remaining execution time till the function will be terminated.
7171 /// </summary>
7272 public TimeSpan RemainingTime { get ; set ; }
73+
74+ /// <summary>
75+ /// Gets the tenant id for the Lambda function.
76+ /// </summary>
77+ public string TenantId { get ; set ; }
78+
79+ /// <summary>
80+ /// The trace id generated by Lambda for distributed tracing across AWS services.
81+ /// </summary>
82+ public string TraceId { get ; set ; }
7383 }
7484}
You can’t perform that action at this time.
0 commit comments