1 | import * as codepipeline from '@aws-cdk/aws-codepipeline';
|
2 | import * as events from '@aws-cdk/aws-events';
|
3 | import * as iam from '@aws-cdk/aws-iam';
|
4 | import { TargetBaseProps } from './util';
|
5 |
|
6 |
|
7 |
|
8 | export interface CodePipelineTargetOptions extends TargetBaseProps {
|
9 | |
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | readonly eventRole?: iam.IRole;
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 | export declare class CodePipeline implements events.IRuleTarget {
|
21 | private readonly pipeline;
|
22 | private readonly options;
|
23 | constructor(pipeline: codepipeline.IPipeline, options?: CodePipelineTargetOptions);
|
24 | bind(_rule: events.IRule, _id?: string): events.RuleTargetConfig;
|
25 | }
|