Skip to content

Commit

Permalink
docs: README
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Jul 18, 2023
1 parent bf41fa9 commit 454b69b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/aws-cdk-lib/aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1077,9 +1077,10 @@ new lambda.Function(this, 'Function', {
});
```

Also an `include` property allows you to specify particular files for assets.
You can write based on simple glob patterns.
If both `exclude` and `include` are specified for the same file, `exclude` takes priority.
Also an `include` property allows you to specify particular files for assets. You can write based on simple glob patterns.

If both `exclude` and `include` are specified for the same file, `exclude` takes priority. If matching the symlink but not its target,
it is included (i.e. the `include` patterns check for symlinks by the path from which the link originates).

```ts
new lambda.Function(this, 'Function', {
Expand Down

0 comments on commit 454b69b

Please sign in to comment.