From 786bccb9da25b9fc0b832904def85f0b9aae8624 Mon Sep 17 00:00:00 2001 From: Jeff Registre Date: Wed, 21 Feb 2024 11:45:43 -0500 Subject: [PATCH] Update resource config runtimes to java8.al2 --- aws-kendra-datasource/.rpdk-config | 2 +- aws-kendra-datasource/template.yml | 4 ++-- aws-kendra-faq/.rpdk-config | 6 +++--- aws-kendra-faq/template.yml | 4 ++-- aws-kendra-featuredresultsset/.rpdk-config | 3 ++- aws-kendra-featuredresultsset/template.yml | 4 ++-- aws-kendra-index/.rpdk-config | 2 +- aws-kendra-index/template.yml | 4 ++-- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/aws-kendra-datasource/.rpdk-config b/aws-kendra-datasource/.rpdk-config index 73c5e020..824a6764 100644 --- a/aws-kendra-datasource/.rpdk-config +++ b/aws-kendra-datasource/.rpdk-config @@ -2,7 +2,7 @@ "artifact_type": "RESOURCE", "typeName": "AWS::Kendra::DataSource", "language": "java", - "runtime": "java8", + "runtime": "java8.al2", "entrypoint": "software.amazon.kendra.datasource.HandlerWrapper::handleRequest", "testEntrypoint": "software.amazon.kendra.datasource.HandlerWrapper::testEntrypoint", "settings": { diff --git a/aws-kendra-datasource/template.yml b/aws-kendra-datasource/template.yml index b21bde72..df8dc199 100644 --- a/aws-kendra-datasource/template.yml +++ b/aws-kendra-datasource/template.yml @@ -12,12 +12,12 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.datasource.HandlerWrapper::handleRequest - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-datasource-handler-1.0-SNAPSHOT.jar TestEntrypoint: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.datasource.HandlerWrapper::testEntrypoint - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-datasource-handler-1.0-SNAPSHOT.jar diff --git a/aws-kendra-faq/.rpdk-config b/aws-kendra-faq/.rpdk-config index 03a61654..5c65ddd7 100644 --- a/aws-kendra-faq/.rpdk-config +++ b/aws-kendra-faq/.rpdk-config @@ -2,7 +2,7 @@ "artifact_type": "RESOURCE", "typeName": "AWS::Kendra::Faq", "language": "java", - "runtime": "java8", + "runtime": "java8.al2", "entrypoint": "software.amazon.kendra.faq.HandlerWrapper::handleRequest", "testEntrypoint": "software.amazon.kendra.faq.HandlerWrapper::testEntrypoint", "settings": { @@ -12,8 +12,8 @@ "kendra", "faq" ], - "codegen_template_path": "guided_aws", - "protocolVersion": "2.0.0" + "codegen_template_path": "guided_aws", + "protocolVersion": "2.0.0" }, "logProcessorEnabled": "true", "executableEntrypoint": "software.amazon.kendra.faq.HandlerWrapperExecutable" diff --git a/aws-kendra-faq/template.yml b/aws-kendra-faq/template.yml index d2c67732..21e6db48 100644 --- a/aws-kendra-faq/template.yml +++ b/aws-kendra-faq/template.yml @@ -12,12 +12,12 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.faq.HandlerWrapper::handleRequest - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-faq-handler-1.0-SNAPSHOT.jar TestEntrypoint: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.faq.HandlerWrapper::testEntrypoint - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-faq-handler-1.0-SNAPSHOT.jar diff --git a/aws-kendra-featuredresultsset/.rpdk-config b/aws-kendra-featuredresultsset/.rpdk-config index d42fe581..27f01f61 100644 --- a/aws-kendra-featuredresultsset/.rpdk-config +++ b/aws-kendra-featuredresultsset/.rpdk-config @@ -2,7 +2,7 @@ "artifact_type": "RESOURCE", "typeName": "AWS::Kendra::FeaturedResultsSet", "language": "java", - "runtime": "java8", + "runtime": "java8.al2", "entrypoint": "software.amazon.kendra.featuredresultsset.HandlerWrapper::handleRequest", "testEntrypoint": "software.amazon.kendra.featuredresultsset.HandlerWrapper::testEntrypoint", "settings": { @@ -24,5 +24,6 @@ "codegen_template_path": "guided_aws", "protocolVersion": "2.0.0" }, + "logProcessorEnabled": "true", "executableEntrypoint": "software.amazon.kendra.featuredresultsset.HandlerWrapperExecutable" } diff --git a/aws-kendra-featuredresultsset/template.yml b/aws-kendra-featuredresultsset/template.yml index cb8a28e3..4a05dd88 100644 --- a/aws-kendra-featuredresultsset/template.yml +++ b/aws-kendra-featuredresultsset/template.yml @@ -12,12 +12,12 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.featuredresultsset.HandlerWrapper::handleRequest - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-featuredresultsset-handler-1.0-SNAPSHOT.jar TestEntrypoint: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.featuredresultsset.HandlerWrapper::testEntrypoint - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-featuredresultsset-handler-1.0-SNAPSHOT.jar diff --git a/aws-kendra-index/.rpdk-config b/aws-kendra-index/.rpdk-config index 34229757..b2729fd1 100644 --- a/aws-kendra-index/.rpdk-config +++ b/aws-kendra-index/.rpdk-config @@ -2,7 +2,7 @@ "artifact_type": "RESOURCE", "typeName": "AWS::Kendra::Index", "language": "java", - "runtime": "java8", + "runtime": "java8.al2", "entrypoint": "software.amazon.kendra.index.HandlerWrapper::handleRequest", "testEntrypoint": "software.amazon.kendra.index.HandlerWrapper::testEntrypoint", "settings": { diff --git a/aws-kendra-index/template.yml b/aws-kendra-index/template.yml index 7e63df73..f1c07663 100644 --- a/aws-kendra-index/template.yml +++ b/aws-kendra-index/template.yml @@ -12,12 +12,12 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.index.HandlerWrapper::handleRequest - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-index-handler-1.0-SNAPSHOT.jar TestEntrypoint: Type: AWS::Serverless::Function Properties: Handler: software.amazon.kendra.index.HandlerWrapper::testEntrypoint - Runtime: java8 + Runtime: java8.al2 CodeUri: ./target/aws-kendra-index-handler-1.0-SNAPSHOT.jar