1 | import * as events from '@aws-cdk/aws-events';
|
2 | import * as logs from '@aws-cdk/aws-logs';
|
3 | import { TargetBaseProps } from './util';
|
4 |
|
5 |
|
6 |
|
7 | export interface LogGroupProps extends TargetBaseProps {
|
8 | |
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | readonly event?: events.RuleTargetInput;
|
16 | }
|
17 |
|
18 |
|
19 |
|
20 | export declare class CloudWatchLogGroup implements events.IRuleTarget {
|
21 | private readonly logGroup;
|
22 | private readonly props;
|
23 | constructor(logGroup: logs.ILogGroup, props?: LogGroupProps);
|
24 | /**
|
25 | * Returns a RuleTarget that can be used to log an event into a CloudWatch LogGroup
|
26 | */
|
27 | bind(_rule: events.IRule, _id?: string): events.RuleTargetConfig;
|
28 | }
|