File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
pure-lambda-java-21-docker-image-alpine-linux Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1313 <maven-compiler-plugin .version>3.5.1</maven-compiler-plugin .version>
1414 <versions-maven-plugin .version>2.2</versions-maven-plugin .version>
1515 <maven-shade-plugin .version>2.4.3</maven-shade-plugin .version>
16- <aws .lambda.java.core.version>1.2.2 </aws .lambda.java.core.version>
16+ <aws .lambda.java.core.version>1.2.3 </aws .lambda.java.core.version>
1717 </properties >
1818 <repositories >
1919 <repository >
9393 <artifactId >aws-lambda-java-runtime-interface-client</artifactId >
9494 <version >2.4.1</version >
9595 </dependency >
96+ <dependency >
97+ <groupId >com.amazonaws</groupId >
98+ <artifactId >aws-lambda-java-serialization</artifactId >
99+ <version >1.1.5</version >
100+ </dependency >
96101
97102 </dependencies >
98103
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ Resources:
9191 Properties :
9292 FunctionName : GetProductByIdWithPureJava21DockerImageAlpine
9393 PackageType : Image
94- ImageUri : !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-pure-lambda-java21-custom-docker-image-alpine:latest
94+ ImageUri : !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-pure-lambda-java21-custom-docker-image-alpine:latest1
9595 ImageConfig :
9696 Command : ["software.amazonaws.example.product.handler.GetProductByIdHandler::handleRequest"]
9797 Policies :
@@ -112,13 +112,13 @@ Resources:
112112 LogGroupName : !Sub "/aws/lambda/${GetProductByIdFunction}"
113113 RetentionInDays : 7
114114
115-
115+
116116 PutProductFunction :
117117 Type : AWS::Serverless::Function
118118 Properties :
119119 FunctionName : PutProductWithPureJava21DockerImageAlpine
120120 PackageType : Image
121- ImageUri : !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-pure-lambda-java21-custom-docker-image-alpine:latest
121+ ImageUri : !Sub ${AWS::AccountId}.dkr.ecr.eu-central-1.amazonaws.com/aws-pure-lambda-java21-custom-docker-image-alpine:latest1
122122 ImageConfig :
123123 Command : ["software.amazonaws.example.product.handler.CreateProductHandler::handleRequest"]
124124
You can’t perform that action at this time.
0 commit comments