Skip to content

Commit

Permalink
Merge pull request #683 from perfectsense/feature/Update-lambda-layer…
Browse files Browse the repository at this point in the history
…-runtimes

Update Lambda layer supported runtimes
  • Loading branch information
deepanjan90 authored Nov 18, 2024
2 parents 0dc7f2f + c993451 commit 7923211
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/gyro/aws/lambda/LayerResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* description: "lambda-layer-example-desc"
* content-zip-path: "example-function.zip"
* compatible-runtimes: [
* "nodejs8.10"
* "nodejs20.x"
* ]
* end
*/
Expand Down Expand Up @@ -112,10 +112,9 @@ public void setLicenseInfo(String licenseInfo) {
}

/**
* The list of runtime language for the function using this Lambda Layer.
* The list of runtime language for the function using this Lambda Layer. See `Supported Runtimes for Lambda <https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html>`_.
*/
@Required
@ValidStrings({"nodejs", "nodejs4.3", "nodejs6.10", "nodejs8.10", "java8", "python2.7", "python3.6", "python3.7", "dotnetcore1.0", "dotnetcore2.0", "dotnetcore2.1", "nodejs4.3-edge", "go1.x", "ruby2.5", "provided"})
public Set<String> getCompatibleRuntimes() {
if (compatibleRuntimes == null) {
compatibleRuntimes = new HashSet<>();
Expand Down

0 comments on commit 7923211

Please sign in to comment.