Skip to content

Commit

Permalink
Update packages/@aws-cdk/aws-appsync/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Otavio Macedo <otaviomacedo@protonmail.com>
  • Loading branch information
nikovirtala and otaviomacedo committed Aug 2, 2022
1 parent 0fa8467 commit 3af9b63
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/@aws-cdk/aws-appsync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,9 @@ new route53.CnameRecord(this, `CnameApiRecord`, {
## Log Group

AppSync automatically create a log group with the name `/aws/appsync/apis/<graphql_api_id>` upon deployment with
log data set to never expire.
log data set to never expire. If you want to set a different expiration period, use the `logConfig.retention` property.

The `logConfig.retention` property can be used to set a different expiration period.

It is possible to obtain the GraphQL API's log group as a `logs.ILogGroup` by calling the `logGroup` property of the
To obtain the GraphQL API's log group as a `logs.ILogGroup` use the `logGroup` property of the
`GraphqlApi` construct.

## Schema
Expand Down

0 comments on commit 3af9b63

Please sign in to comment.