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
thrownewArgumentException("When --api-gateway-emulator-port is set the --api-gateway-emulator-mode must be set to configure the mode for the API Gateway emulator.");
78
+
thrownewArgumentException("When --api-gateway-emulator-port or --api-gateway-emulator-https-port is set the --api-gateway-emulator-mode must be set to configure the mode for the API Gateway emulator.");
Copy file name to clipboardExpand all lines: Tools/LambdaTestTool-v2/src/Amazon.Lambda.TestTool/Commands/Settings/RunCommandSettings.cs
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,15 @@ public sealed class RunCommandSettings : CommandSettings
30
30
[Description("The port number used for the test tool's web interface.")]
31
31
publicint?LambdaEmulatorPort{get;set;}
32
32
33
+
/// <summary>
34
+
/// The https port number used for the test tool's web interface. This is only used for the web UI. Lambda functions making REST calls to the Lambda Runtime API
35
+
/// always use http configured by the port specified in <see cref="LambdaEmulatorPort"/>. To use HTTPS the environment must be configured with certs
36
+
/// for the host specified in <see cref="LambdaEmulatorHost"/>.
/// The port number used for the test tool's API Gateway emulator. If a port is specified the API Gateway emulator will be started. The --api-gateway-mode muse also be set when setting the API Gateway emulator port.
61
+
/// The port number used for the test tool's API Gateway emulator. If a port is specified the API Gateway emulator will be started. The --api-gateway-emulator-mode
62
+
/// must also be set when setting the API Gateway emulator port.
[Description("The port number used for the test tool's API Gateway emulator.")]
56
66
publicint?ApiGatewayEmulatorPort{get;set;}
57
67
68
+
/// <summary>
69
+
/// The https port number used for the test tool's API Gateway emulator. If a port is specified the API Gateway emulator will be started. The --api-gateway--emulator-mode must
70
+
/// also be set when setting the API Gateway emulator port. To use HTTPS the environment must be configured with certs
71
+
/// for the host specified in <see cref="LambdaEmulatorHost"/>.
[Description("The https port number used for the test tool's API Gateway emulator.")]
75
+
publicint?ApiGatewayEmulatorHttpsPort{get;set;}
76
+
58
77
/// <summary>
59
78
/// The configuration for the SQS event source. The format of the config is a comma delimited key pairs. For example \"QueueUrl=queue-url,FunctionName=function-name,VisibilityTimeout=100\".
0 commit comments