Skip to content

Commit

Permalink
fix(lambda):Update readme
Browse files Browse the repository at this point in the history
fixes aws#8257
  • Loading branch information
jaapvanblaaderen committed Jun 11, 2020
1 parent f33ae20 commit c4823d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@aws-cdk/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ The `logRetention` property can be used to set a different expiration period.
It is possible to obtain the function's log group as a `logs.ILogGroup` by calling the `logGroup` property of the
`Function` construct.

By default, CDK uses the AWS SDK retry options when creating a log group. The `logRetentionRetryOptions` property
allows you to customize the maximum number of retries and base backoff duration.

*Note* that, if either `logRetention` is set or `logGroup` property is called, a [CloudFormation custom
resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html) is added
to the stack that pre-creates the log group as part of the stack deployment, if it already doesn't exist, and sets the
Expand Down

0 comments on commit c4823d5

Please sign in to comment.