You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Components/Pages/Home.razor
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
@usingAmazon.Lambda.TestTool.Models
4
4
@usingAmazon.Lambda.TestTool.SampleRequests
5
5
@usingAmazon.Lambda.TestTool.Services
6
+
@usingAmazon.Lambda.TestTool.Utilities
6
7
7
8
<PageTitle>Lambda Function Tester</PageTitle>
8
9
@@ -26,11 +27,14 @@
26
27
</div>
27
28
</div>
28
29
29
-
<divclass="alert alert-secondary"role="alert">
30
-
For Lambda functions written as executable assemblies, i.e. custom runtimes functions and top level statement functions, this page can be used for testing the functions locally.
31
-
Set the <b>AWS_LAMBDA_RUNTIME_API</b> environment variable to <b>@HttpContextAccessor.HttpContext?.Request.Host</b> while debugging executable assembly
32
-
Lambda function. More information can be found in the <ahref="/documentation">documentation</a>.
33
-
</div>
30
+
@if (!Utils.IsAspireHosted)
31
+
{
32
+
<divclass="alert alert-secondary"role="alert">
33
+
ForLambdafunctionswrittenasexecutableassemblies, i.e. customruntimesfunctionsandtoplevelstatementfunctions, thispagecanbeusedfor testing the functions locally.
34
+
Set the <b>AWS_LAMBDA_RUNTIME_API</b> environment variable to <b>@HttpContextAccessor.HttpContext?.Request.Host</b> while debugging executable assembly
35
+
Lambda function. More information can be found in the <a href="/documentation">documentation</a>.
0 commit comments