agent-claw: automated task changes
This commit is contained in:
42
cdk/node_modules/aws-cdk-lib/aws-lambda/lib/destination.d.ts
generated
vendored
Normal file
42
cdk/node_modules/aws-cdk-lib/aws-lambda/lib/destination.d.ts
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
import type { Construct } from 'constructs';
|
||||
import type { IFunction } from './function-base';
|
||||
/**
|
||||
* A destination configuration
|
||||
*/
|
||||
export interface DestinationConfig {
|
||||
/**
|
||||
* The Amazon Resource Name (ARN) of the destination resource
|
||||
*/
|
||||
readonly destination: string;
|
||||
}
|
||||
/**
|
||||
* The type of destination
|
||||
*/
|
||||
export declare enum DestinationType {
|
||||
/**
|
||||
* Failure
|
||||
*/
|
||||
FAILURE = "Failure",
|
||||
/**
|
||||
* Success
|
||||
*/
|
||||
SUCCESS = "Success"
|
||||
}
|
||||
/**
|
||||
* Options when binding a destination to a function
|
||||
*/
|
||||
export interface DestinationOptions {
|
||||
/**
|
||||
* The destination type
|
||||
*/
|
||||
readonly type: DestinationType;
|
||||
}
|
||||
/**
|
||||
* A Lambda destination
|
||||
*/
|
||||
export interface IDestination {
|
||||
/**
|
||||
* Binds this destination to the Lambda function
|
||||
*/
|
||||
bind(scope: Construct, fn: IFunction, options?: DestinationOptions): DestinationConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user