Skip to content

Commit

Permalink
add to README
Browse files Browse the repository at this point in the history
  • Loading branch information
madeline-k committed Sep 7, 2022
1 parent 217a199 commit 3819c26
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 @@ -33,6 +33,9 @@ runtime code.
* `lambda.Code.fromAsset(path)` - specify a directory or a .zip file in the local
filesystem which will be zipped and uploaded to S3 before deployment. See also
[bundling asset code](#bundling-asset-code).
* `lambda.Code.fromAssetConstruct(asset)` - specify an Asset construct containing
the Lambda code bundle or a .zip file. Similar to `fromAsset()`, but you supply
your own Asset construct rather than having one created for you from a local path.
* `lambda.Code.fromDockerBuild(path, options)` - use the result of a Docker
build as code. The runtime code is expected to be located at `/asset` in the
image and will be zipped and uploaded to S3 as an asset.
Expand Down

0 comments on commit 3819c26

Please sign in to comment.