1 | import { IFunction } from './function-base';
|
2 | import { Construct } from '@aws-cdk/core';
|
3 |
|
4 |
|
5 |
|
6 | export interface DestinationConfig {
|
7 | |
8 |
|
9 |
|
10 | readonly destination: string;
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 | export declare enum DestinationType {
|
16 | |
17 |
|
18 |
|
19 | FAILURE = "Failure",
|
20 | |
21 |
|
22 |
|
23 | SUCCESS = "Success"
|
24 | }
|
25 |
|
26 |
|
27 |
|
28 | export interface DestinationOptions {
|
29 | |
30 |
|
31 |
|
32 | readonly type: DestinationType;
|
33 | }
|
34 |
|
35 |
|
36 |
|
37 | export interface IDestination {
|
38 | |
39 |
|
40 |
|
41 | bind(scope: Construct, fn: IFunction, options?: DestinationOptions): DestinationConfig;
|
42 | }
|