1 | import * as codebuild from '@aws-cdk/aws-codebuild';
|
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 CodeBuildProjectProps extends TargetBaseProps {
|
9 | |
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | readonly eventRole?: iam.IRole;
|
16 | |
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | readonly event?: events.RuleTargetInput;
|
24 | }
|
25 |
|
26 |
|
27 |
|
28 | export declare class CodeBuildProject implements events.IRuleTarget {
|
29 | private readonly project;
|
30 | private readonly props;
|
31 | constructor(project: codebuild.IProject, props?: CodeBuildProjectProps);
|
32 | /**
|
33 | * Allows using build projects as event rule targets.
|
34 | */
|
35 | bind(_rule: events.IRule, _id?: string): events.RuleTargetConfig;
|
36 | }
|