Class LambdaFinalizerDependencyProvider
The Lambda
Inherited Members
Namespace: LambdaSharp.Finalizer
Assembly: LambdaSharp.Finalizer.dll
Syntax
public class LambdaFinalizerDependencyProvider : LambdaFunctionDependencyProvider, ILambdaFinalizerDependencyProvider, ILambdaFunctionDependencyProvider
Constructors
LambdaFinalizerDependencyProvider(Func<DateTime>, Action<String>, ILambdaConfigSource, IAmazonKeyManagementService, IAmazonSQS, IAmazonCloudFormation)
Creates new instance of Lambda
Declaration
public LambdaFinalizerDependencyProvider(Func<DateTime> utcNowCallback = null, Action<string> logCallback = null, ILambdaConfigSource configSource = null, IAmazonKeyManagementService kmsClient = null, IAmazonSQS sqsClient = null, IAmazonCloudFormation cloudFormationClient = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
utcNowCallback | A function that return the current |
System. |
logCallback | An action that logs a string message. Defaults to Amazon. |
ILambda |
configSource | A ILambda |
Amazon. |
kmsClient | A Amazon. |
Amazon. |
sqsClient | A Amazon. |
Amazon. |
cloudFormationClient | A Amazon. |
Methods
IsStackDeleteInProgressAsync(String, CancellationToken)
Checks if the specified stack is currently being deleted.
Declaration
public async Task<bool> IsStackDeleteInProgressAsync(string stackId, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System. |
stackId | CloudFormation stack ID |
System. |
cancellationToken | The token to monitor for cancellation requests. |
Returns
Type | Description |
---|---|
System. |
Boolean indicating if the specified stack is being deleted. |