diff --git a/.autover/changes/b2019317-5414-4315-b539-7735b04f8e63.json b/.autover/changes/b2019317-5414-4315-b539-7735b04f8e63.json
new file mode 100644
index 0000000..9386907
--- /dev/null
+++ b/.autover/changes/b2019317-5414-4315-b539-7735b04f8e63.json
@@ -0,0 +1,11 @@
+{
+ "Projects": [
+ {
+ "Name": "Aspire.Hosting.AWS",
+ "Type": "Patch",
+ "ChangelogMessages": [
+ "Automatically install .NET Tool Amazon.Lambda.TestTool when running Lambda functions"
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/Directory.Packages.props b/Directory.Packages.props
index a8fd1d4..f9d7824 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -41,5 +41,6 @@
+
\ No newline at end of file
diff --git a/src/Aspire.Hosting.AWS/Lambda/APIGatewayApiResource.cs b/src/Aspire.Hosting.AWS/Lambda/APIGatewayApiResource.cs
deleted file mode 100644
index 15fc64e..0000000
--- a/src/Aspire.Hosting.AWS/Lambda/APIGatewayApiResource.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
-
-using Aspire.Hosting.ApplicationModel;
-
-namespace Aspire.Hosting.AWS.Lambda;
-
-
-///
-/// Resource representing the Amazon API Gateway emulator.
-///
-/// Aspire resource name
-public class APIGatewayApiResource(string name) : ExecutableResource(name,
- "dotnet-lambda-test-tool",
- Environment.CurrentDirectory
- )
-{
-}
diff --git a/src/Aspire.Hosting.AWS/Lambda/APIGatewayEmulatorResource.cs b/src/Aspire.Hosting.AWS/Lambda/APIGatewayEmulatorResource.cs
new file mode 100644
index 0000000..fc5dc59
--- /dev/null
+++ b/src/Aspire.Hosting.AWS/Lambda/APIGatewayEmulatorResource.cs
@@ -0,0 +1,27 @@
+// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+using Aspire.Hosting.ApplicationModel;
+using k8s.KubeConfigModels;
+
+namespace Aspire.Hosting.AWS.Lambda;
+
+
+///
+/// Resource representing the Amazon API Gateway emulator.
+///
+/// Aspire resource name
+public class APIGatewayEmulatorResource(string name, APIGatewayType apiGatewayType) : ExecutableResource(name,
+ "dotnet",
+ Environment.CurrentDirectory
+ )
+{
+ internal void AddCommandLineArguments(IList