- Notifications
You must be signed in to change notification settings - Fork 488
/
Copy pathConstants.cs
93 lines (75 loc) · 3.92 KB
/
Constants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
usingAmazon.Lambda.TestTool.Models;
namespaceAmazon.Lambda.TestTool;
/// <summary>
/// Provides constant values used across the application.
/// </summary>
publicabstractclassConstants
{
/// <summary>
/// The name of the dotnet CLI tool
/// </summary>
publicconststringToolName="dotnet-lambda-test-tool";
/// <summary>
/// The default hostname used for the Lambda Test Tool.
/// </summary>
publicconststringDefaultLambdaEmulatorHost="localhost";
/// <summary>
/// The default mode for the API Gateway Emulator.
/// </summary>
publicconstApiGatewayEmulatorModeDefaultApiGatewayEmulatorMode=ApiGatewayEmulatorMode.HttpV2;
/// <summary>
/// The prefix for environment variables used to configure the Lambda functions.
/// </summary>
publicconststringLambdaConfigEnvironmentVariablePrefix="APIGATEWAY_EMULATOR_ROUTE_CONFIG";
/// <summary>
/// The product name displayed for the Lambda Test Tool.
/// </summary>
publicconststringProductName="AWS .NET Mock Lambda Test Tool";
/// <summary>
/// The CSS style used for successful responses in the tool's UI.
/// </summary>
publicconststringResponseSuccessStyle="white-space: pre-wrap; height: min-content; font-size: 75%; color: black";
/// <summary>
/// The CSS style used for error responses in the tool's UI.
/// </summary>
publicconststringResponseErrorStyle="white-space: pre-wrap; height: min-content; font-size: 75%; color: red";
/// <summary>
/// The CSS style used for successful responses in the tool's UI when a size constraint is applied.
/// </summary>
publicconststringResponseSuccessStyleSizeConstraint="white-space: pre-wrap; height: 300px; font-size: 75%; color: black";
/// <summary>
/// The CSS style used for error responses in the tool's UI when a size constraint is applied.
/// </summary>
publicconststringResponseErrorStyleSizeConstraint="white-space: pre-wrap; height: 300px; font-size: 75%; color: red";
/// <summary>
/// The GitHub repository link for the AWS Lambda .NET repository.
/// </summary>
publicconststringLinkGithubRepo="https://github.com/aws/aws-lambda-dotnet";
/// <summary>
/// The GitHub link for the Lambda Test Tool.
/// </summary>
publicconststringLinkGithubTestTool="https://github.com/aws/aws-lambda-dotnet/tree/master/Tools/LambdaTestTool-v2";
/// <summary>
/// The GitHub link for the Lambda Test Tool's installation and running instructions.
/// </summary>
publicconststringLinkGithubTestToolInstallAndRun="https://github.com/aws/aws-lambda-dotnet/tree/master/Tools/LambdaTestTool#installing-and-running";
/// <summary>
/// The AWS Developer Guide link for Dead Letter Queues in AWS Lambda.
/// </summary>
publicconststringLinkDlqDeveloperGuide="https://docs.aws.amazon.com/lambda/latest/dg/dlq.html";
/// <summary>
/// The Microsoft documentation link for the <see cref="System.Runtime.Loader.AssemblyLoadContext"/> class.
/// </summary>
publicconststringLinkMsdnAssemblyLoadContext="https://docs.microsoft.com/en-us/dotnet/api/system.runtime.loader.assemblyloadcontext";
/// <summary>
/// The Visual Studio Marketplace link for the AWS Toolkit for Visual Studio.
/// </summary>
publicconststringLinkVsToolkitMarketplace="https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.AWSToolkitforVisualStudio2022";
/// <summary>
/// Prefix this is used for values of command line arguments that support the value being stored in an environment variable.
/// This used in the Aspire integration where it is often easier to pass configuration via environment variables.
/// </summary>
publicconststringArgumentEnvironmentVariablePrefix="env:";
}