Class LambdaEventRecord
The Lambda
Namespace: LambdaSharp.Logging.Events.Models
Assembly: LambdaSharp.Logging.dll
Syntax
public sealed class LambdaEventRecord : ALambdaLogRecord
Constructors
LambdaEventRecord()
Create a new Lambda
Declaration
public LambdaEventRecord()
Properties
Detail
The Detail property contains detailed event information as a JSON-serialized object.
Declaration
public string Detail { get; set; }
Property Value
Type | Description |
---|---|
System. |
The event details, encoded as a JSON string. |
DetailType
The Detail
Declaration
public string DetailType { get; set; }
Property Value
Type | Description |
---|---|
System. |
Then event name. |
EventBus
The Event
Declaration
public string EventBus { get; set; }
Property Value
Type | Description |
---|---|
System. |
The name of the event bus. |
Resources
The Resources property describes what resources the event is associated with.
Declaration
public List<string> Resources { get; set; }
Property Value
Type | Description |
---|---|
System. |
The list of associated resources. |
Source
The Source property describes the source of the event.
Declaration
public string Source { get; set; }
Property Value
Type | Description |
---|---|
System. |
The source of the event. |
Time
The Time property describes when the event occurred.
Declaration
public string Time { get; set; }
Property Value
Type | Description |
---|---|
System. |
The time stamp of the event, per RFC3339. |
Methods
GetTimeAsDateTimeOffset()
The Get
Declaration
public DateTimeOffset GetTimeAsDateTimeOffset()
Returns
Type | Description |
---|---|
System. |
The System. |
SetTime(DateTimeOffset)
The Set
Declaration
public void SetTime(DateTimeOffset timestamp)
Parameters
Type | Name | Description |
---|---|---|
System. |
timestamp | The System. |