agent-claw: automated task changes
This commit is contained in:
23
cdk/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/lib/lambda-hook.d.ts
generated
vendored
Normal file
23
cdk/node_modules/aws-cdk-lib/aws-autoscaling-hooktargets/lib/lambda-hook.d.ts
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as autoscaling from '../../aws-autoscaling';
|
||||
import type * as kms from '../../aws-kms';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
/**
|
||||
* Use a Lambda Function as a hook target
|
||||
*
|
||||
* Internally creates a Topic to make the connection.
|
||||
*/
|
||||
export declare class FunctionHook implements autoscaling.ILifecycleHookTarget {
|
||||
private readonly fn;
|
||||
private readonly encryptionKey?;
|
||||
/**
|
||||
* @param fn Function to invoke in response to a lifecycle event
|
||||
* @param encryptionKey If provided, this key is used to encrypt the contents of the SNS topic.
|
||||
*/
|
||||
constructor(fn: lambda.IFunction, encryptionKey?: kms.IKey | undefined);
|
||||
/**
|
||||
* If the `IRole` does not exist in `options`, will create an `IRole` and an SNS Topic and attach both to the lifecycle hook.
|
||||
* If the `IRole` does exist in `options`, will only create an SNS Topic and attach it to the lifecycle hook.
|
||||
*/
|
||||
bind(_scope: Construct, options: autoscaling.BindHookTargetOptions): autoscaling.LifecycleHookTargetConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user