Skip to content

Commit 1570d36

Browse files
author
Elad Ben-Israel
authored
chore(lambda): fix misleading reference to "codeHash" in readme
README referenced a non-existing property called `function.codeHash`. This comment slipped in from a previous iteration of #6771
1 parent b14172d commit 1570d36

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/@aws-cdk/aws-lambda/README.md

-5
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ to our CDK project directory. This is especially important when we want to share
4949
this construct through a library. Different programming languages will have
5050
different techniques for bundling resources into libraries.
5151

52-
When using `fromAsset` or `fromInline`, you can obtain the hash of source
53-
through the `function.codeHash` property. This property will return `undefined`
54-
if the code hash cannot be calculated during synthesis (e.g. when using code
55-
from an S3 bucket).
56-
5752
### Versions and Aliases
5853

5954
You can use

0 commit comments

Comments
 (0)