From c993451fb388e6828fdfff40bc1db013d11372b0 Mon Sep 17 00:00:00 2001 From: Deepanjan Bhattacharyya Date: Mon, 18 Nov 2024 07:37:10 -0800 Subject: [PATCH] Update Lambda layer supported Runtimes --- src/main/java/gyro/aws/lambda/LayerResource.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/gyro/aws/lambda/LayerResource.java b/src/main/java/gyro/aws/lambda/LayerResource.java index 2521391ab..f8047d905 100644 --- a/src/main/java/gyro/aws/lambda/LayerResource.java +++ b/src/main/java/gyro/aws/lambda/LayerResource.java @@ -55,7 +55,7 @@ * description: "lambda-layer-example-desc" * content-zip-path: "example-function.zip" * compatible-runtimes: [ - * "nodejs8.10" + * "nodejs20.x" * ] * end */ @@ -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 `_. */ @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 getCompatibleRuntimes() { if (compatibleRuntimes == null) { compatibleRuntimes = new HashSet<>();