npm @serverless-stack/cli 1.6.10
v1.6.10

latest releases: 1.18.4, 1.18.3, 1.18.2...
2 years ago

Changes

  • #1940 91d28a7d3 - Api: support Lambda container routes

    Api construct now supports using lambda.Function routes. This allows using Lambda container images for routes. For example:

    import * as lambda from "aws-cdk-lib/aws-lambda";
    
    const fn = new lambda.DockerImageFunction(stack, "DockerFunction", {
      code: lambda.DockerImageCode.fromImageAsset("path/to/Dockerfile/folder"),
    });
    
    new Api(stack, "Api", {
      routes: {
        "GET /": {
          cdk: {
            function: fn,
          }
        },
      },
    });

Update using:

$ npx sst update v1.6.10
$ yarn sst update v1.6.10

Don't miss a new cli release

NewReleases is sending notifications on new releases.