Class LogEntryLambdaContext
Powertools Log Entry Lambda Context
Inherited Members
Namespace: AWS.Lambda.Powertools.Logging
Assembly: AWS.Lambda.Powertools.Logging.dll
Syntax
public class LogEntryLambdaContext
Properties
AwsRequestId
The AWS request ID associated with the request. This is the same ID returned to the client that called invoke(). This ID is reused for retries on the same request.
Declaration
public string AwsRequestId { get; }
Property Value
Type | Description |
---|---|
string |
FunctionName
Name of the Lambda function that is running.
Declaration
public string FunctionName { get; }
Property Value
Type | Description |
---|---|
string |
FunctionVersion
The Lambda function version that is executing. If an alias is used to invoke the function, then this will be the version the alias points to.
Declaration
public string FunctionVersion { get; }
Property Value
Type | Description |
---|---|
string |
InvokedFunctionArn
The CloudWatch log group name associated with the invoked function. It can be null if the IAM user provided does not have permission for CloudWatch actions.
Declaration
public string InvokedFunctionArn { get; }
Property Value
Type | Description |
---|---|
string |
MemoryLimitInMB
The ARN used to invoke this function. It can be function ARN or alias ARN. An unqualified ARN executes the $LATEST version and aliases execute the function version they are pointing to.
Declaration
public int MemoryLimitInMB { get; }
Property Value
Type | Description |
---|---|
int |