Skip to content

Commit

Permalink
fix(docs): it is appsync log config ...
Browse files Browse the repository at this point in the history
  • Loading branch information
nikovirtala committed Aug 4, 2022
1 parent b8979b4 commit e198871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-appsync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ To obtain the GraphQL API's log group as a `logs.ILogGroup` use the `logGroup` p
```ts
import * as logs from '@aws-cdk/aws-logs';

const logConfig: logs.LogConfig = {
retention: RetentionDays.ONE_WEEK,
const logConfig: appsync.LogConfig = {
retention: logs.RetentionDays.ONE_WEEK,
};

new appsync.GraphqlApi(this, 'api', {
Expand Down

0 comments on commit e198871

Please sign in to comment.