agent-claw: automated task changes
This commit is contained in:
29
cdk/node_modules/aws-cdk-lib/aws-events-targets/lib/lambda.d.ts
generated
vendored
Normal file
29
cdk/node_modules/aws-cdk-lib/aws-events-targets/lib/lambda.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import type { TargetBaseProps } from './util';
|
||||
import type * as events from '../../aws-events';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
/**
|
||||
* Customize the Lambda Event Target
|
||||
*/
|
||||
export interface LambdaFunctionProps extends TargetBaseProps {
|
||||
/**
|
||||
* The event to send to the Lambda
|
||||
*
|
||||
* This will be the payload sent to the Lambda Function.
|
||||
*
|
||||
* @default the entire EventBridge event
|
||||
*/
|
||||
readonly event?: events.RuleTargetInput;
|
||||
}
|
||||
/**
|
||||
* Use an AWS Lambda function as an event rule target.
|
||||
*/
|
||||
export declare class LambdaFunction implements events.IRuleTarget {
|
||||
private readonly handler;
|
||||
private readonly props;
|
||||
constructor(handler: lambda.IFunction, props?: LambdaFunctionProps);
|
||||
/**
|
||||
* Returns a RuleTarget that can be used to trigger this Lambda as a
|
||||
* result from an EventBridge event.
|
||||
*/
|
||||
bind(rule: events.IRuleRef, _id?: string): events.RuleTargetConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user