agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View 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;
}