agent-claw: automated task changes
This commit is contained in:
34
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/lambda.d.ts
generated
vendored
Normal file
34
cdk/node_modules/aws-cdk-lib/aws-lambda-destinations/lib/lambda.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type * as lambda from '../../aws-lambda';
|
||||
/**
|
||||
* Options for a Lambda destination
|
||||
*/
|
||||
export interface LambdaDestinationOptions {
|
||||
/**
|
||||
* Whether the destination function receives only the `responsePayload` of
|
||||
* the source function.
|
||||
*
|
||||
* When set to `true` and used as `onSuccess` destination, the destination
|
||||
* function will be invoked with the payload returned by the source function.
|
||||
*
|
||||
* When set to `true` and used as `onFailure` destination, the destination
|
||||
* function will be invoked with the error object returned by source function.
|
||||
*
|
||||
* See the README of this module to see a full explanation of this option.
|
||||
*
|
||||
* @default false The destination function receives the full invocation record.
|
||||
*/
|
||||
readonly responseOnly?: boolean;
|
||||
}
|
||||
/**
|
||||
* Use a Lambda function as a Lambda destination
|
||||
*/
|
||||
export declare class LambdaDestination implements lambda.IDestination {
|
||||
private readonly fn;
|
||||
private readonly options;
|
||||
constructor(fn: lambda.IFunction, options?: LambdaDestinationOptions);
|
||||
/**
|
||||
* Returns a destination configuration
|
||||
*/
|
||||
bind(scope: Construct, fn: lambda.IFunction, options?: lambda.DestinationOptions): lambda.DestinationConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user