-
Notifications
You must be signed in to change notification settings - Fork 4k
/
Copy pathdestination.ts
39 lines (35 loc) · 1.15 KB
/
destination.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { Construct, IDependable } from 'constructs';
import { CfnDeliveryStream } from 'aws-cdk-lib/aws-kinesisfirehose';
/**
* A Kinesis Data Firehose delivery stream destination configuration.
*/
export interface DestinationConfig {
/**
* S3 destination configuration properties.
*
* @default - S3 destination is not used.
*/
readonly extendedS3DestinationConfiguration?: CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty;
/**
* Any resources that were created by the destination when binding it to the stack that must be deployed before the delivery stream is deployed.
*
* @default []
*/
readonly dependables?: IDependable[];
}
/**
* Options when binding a destination to a delivery stream.
*/
export interface DestinationBindOptions {
}
/**
* A Kinesis Data Firehose delivery stream destination.
*/
export interface IDestination {
/**
* Binds this destination to the Kinesis Data Firehose delivery stream.
*
* Implementers should use this method to bind resources to the stack and initialize values using the provided stream.
*/
bind(scope: Construct, options: DestinationBindOptions): DestinationConfig;
}