Class TemporalLambdaWorkerOptions
- Namespace
- Temporalio.Extensions.Aws.Lambda
- Assembly
- Temporalio.Extensions.Aws.Lambda.dll
public class TemporalLambdaWorkerOptions
- Inheritance
-
TemporalLambdaWorkerOptions
- Inherited Members
Remarks
WARNING: AWS Lambda support is experimental.
Constructors
TemporalLambdaWorkerOptions()
Initializes a new instance of the TemporalLambdaWorkerOptions class.
public TemporalLambdaWorkerOptions()
Properties
ClientOptions
Gets or sets the client connection options.
public TemporalClientConnectOptions ClientOptions { get; set; }
Property Value
ShutdownDeadlineBuffer
Gets or sets the deadline buffer reserved for worker shutdown and hooks.
public TimeSpan ShutdownDeadlineBuffer { get; set; }
Property Value
WorkerOptions
Gets or sets the worker options.
public TemporalWorkerOptions WorkerOptions { get; set; }
Property Value
Methods
AddShutdownHook(Func<CancellationToken, Task>)
Adds a hook to run after each invocation's worker has shut down.
public void AddShutdownHook(Func<CancellationToken, Task> hook)
Parameters
hookFunc<CancellationToken, Task>Hook to run.