Class LambdaSharpAppConfig
The Lambda
Inheritance
Namespace: LambdaSharp.App.Config
Assembly: LambdaSharp.App.dll
Syntax
public sealed class LambdaSharpAppConfig
Properties
ApiKey
The Api
Declaration
public string ApiKey { get; set; }
Property Value
Type | Description |
---|---|
System. |
The API key for the app API. |
ApiUrl
The Api
Declaration
public string ApiUrl { get; set; }
Property Value
Type | Description |
---|---|
System. |
The URL of the app API. |
AppEventSource
The App
Declaration
public string AppEventSource { get; set; }
Property Value
Type | Description |
---|---|
System. |
Configured event source name for the app instance, or null. |
AppFramework
The App
Declaration
public string AppFramework { get; set; }
Property Value
Type | Description |
---|---|
System. |
The application framework. |
AppId
The App
Declaration
public string AppId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The application id. |
AppInstanceId
The App
Declaration
public string AppInstanceId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The app assembly version GUID. |
AppName
The App
Declaration
public string AppName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The application name. |
AppVersionId
The App
Declaration
public string AppVersionId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The app assembly version GUID. |
DeploymentTier
The Deployment
Declaration
public string DeploymentTier { get; set; }
Property Value
Type | Description |
---|---|
System. |
The LambdaSharp deployment tier name. |
Examples
Sample deployment tier name:
MyTier
DevMode
The Dev
Declaration
public string DevMode { get; set; }
Property Value
Type | Description |
---|---|
System. |
The dev mode setting. |
EventBusApiKey
The Event
Declaration
public string EventBusApiKey { get; set; }
Property Value
Type | Description |
---|---|
System. |
The URL of the app API. |
EventBusUrl
The Event
Declaration
public string EventBusUrl { get; set; }
Property Value
Type | Description |
---|---|
System. |
The URL of the app API. |
GitBranch
The Git branch from which the function was built form.
Declaration
public string GitBranch { get; set; }
Property Value
Type | Description |
---|---|
System. |
The Git branch from the source code repository. |
GitSha
The Git SHA from which the function was built from.
Declaration
public string GitSha { get; set; }
Property Value
Type | Description |
---|---|
System. |
The Git SHA from the source code repository. |
ModuleId
The Module
Declaration
public string ModuleId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The stack name of the deployed LambdaSharp module. |
Examples
Sample module ID:
DevTier-MyAcmeModule
ModuleInfo
The Module
Declaration
public string ModuleInfo { get; set; }
Property Value
Type | Description |
---|---|
System. |
The LambdaSharp module name and version. |
Examples
Sample module name and version:
My.AcmeModule:1.0-Dev@origin
Methods
GetApiKey()
The Get
Declaration
public string GetApiKey()
Returns
Type | Description |
---|---|
System. |
The app API key. |
GetEventBusApiKey()
The Get
Declaration
public string GetEventBusApiKey()
Returns
Type | Description |
---|---|
System. |
The event bus API key. |
GetModuleFullName()
The Get
Declaration
public string GetModuleFullName()
Returns
Type | Description |
---|---|
System. |
GetModuleOrigin()
The Get
Declaration
public string GetModuleOrigin()
Returns
Type | Description |
---|---|
System. |
IsDevModeEnabled()
Determines if the developer mode is enabled.
Declaration
public bool IsDevModeEnabled()
Returns
Type | Description |
---|---|
System. |
when developer mode is enabled
|