You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the result of a Docker build as code. The runtime code is expected to be
located at `/asset` in the image.
Also deprecate `BundlingDockerImage` in favor of `DockerImage`.
Closes#13273
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@@ -462,16 +465,16 @@ new lambda.Function(this, 'Function', {
462
465
463
466
Runtimes expose a `bundlingDockerImage` property that points to the [AWS SAM](https://github.com/awslabs/aws-sam-cli) build image.
464
467
465
-
Use `cdk.BundlingDockerImage.fromRegistry(image)` to use an existing image or
466
-
`cdk.BundlingDockerImage.fromAsset(path)` to build a specific image:
468
+
Use `cdk.DockerImage.fromRegistry(image)` to use an existing image or
469
+
`cdk.DockerImage.fromBuild(path)` to build a specific image:
0 commit comments