Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DaWyz committed Nov 15, 2020
1 parent d1bf75b commit 90c19bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-events-targets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import * as logs from "@aws-cdk/aws-logs";
import * as events from "@aws-cdk/aws-events";
import * as targets from "@aws-cdk/aws-events-targets";

const logGroup = new log.LogGroup(this, 'MyLogGroup', {
const logGroup = new logs.LogGroup(this, 'MyLogGroup', {
logGroupName: 'MyLogGroup',
});

Expand All @@ -51,5 +51,5 @@ const rule = new events.Rule(this, 'rule', {
},
});

rule.addTarget(new targets.LogGroup(logGroup));
rule.addTarget(new targets.CloudWatchLogGroup(logGroup));
```

0 comments on commit 90c19bb

Please sign in to comment.