Files
agent-claw/cdk/node_modules/aws-cdk-lib/triggers/lib/trigger-function.d.ts
2026-05-06 18:55:16 -05:00

24 lines
795 B
TypeScript

import type { Construct } from 'constructs';
import type { ITrigger, TriggerOptions } from '.';
import { Trigger } from '.';
import * as lambda from '../../aws-lambda';
/**
* Props for `InvokeFunction`.
*/
export interface TriggerFunctionProps extends lambda.FunctionProps, TriggerOptions {
}
/**
* Invokes an AWS Lambda function during deployment.
*/
export declare class TriggerFunction extends lambda.Function implements ITrigger {
/** Uniquely identifies this class. */
static readonly PROPERTY_INJECTION_ID: string;
/**
* The underlying trigger resource.
*/
readonly trigger: Trigger;
constructor(scope: Construct, id: string, props: TriggerFunctionProps);
executeAfter(...scopes: Construct[]): void;
executeBefore(...scopes: Construct[]): void;
}