Skip to content

Commit

Permalink
feat: change archetypes and samples to use latest java21 runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
deki committed Nov 19, 2023
1 parent 0cfbd8e commit 99a44be
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: ${groupId}.StreamLambdaHandler::handleRequest
Runtime: java17
Runtime: java21
CodeUri: .
MemorySize: 512
Policies: AWSLambdaBasicExecutionRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: ${groupId}.StreamLambdaHandler::handleRequest
Runtime: java17
Runtime: java21
CodeUri: .
MemorySize: 512
Policies: AWSLambdaBasicExecutionRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: ${groupId}.StreamLambdaHandler::handleRequest
Runtime: java17
Runtime: java21
CodeUri: .
MemorySize: 512
Policies: AWSLambdaBasicExecutionRole
Expand Down
2 changes: 1 addition & 1 deletion samples/jersey/pet-store/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.serverless.sample.jersey.StreamLambdaHandler::handleRequest
Runtime: java17
Runtime: java21
CodeUri: .
MemorySize: 512
Policies: AWSLambdaBasicExecutionRole
Expand Down
2 changes: 1 addition & 1 deletion samples/spring/pet-store/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.serverless.sample.spring.StreamLambdaHandler::handleRequest
Runtime: java17
Runtime: java21
CodeUri: .
MemorySize: 512
Policies: AWSLambdaBasicExecutionRole
Expand Down
2 changes: 1 addition & 1 deletion samples/springboot3/alt-pet-store/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Resources:
# AutoPublishAlias: bcn
FunctionName: pet-store-boot-3
Handler: com.amazonaws.serverless.proxy.spring.SpringDelegatingLambdaContainerHandler::handleRequest
Runtime: java17
Runtime: java21
SnapStart:
ApplyOn: PublishedVersions
CodeUri: .
Expand Down
2 changes: 1 addition & 1 deletion samples/springboot3/pet-store/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.serverless.sample.springboot3.StreamLambdaHandler::handleRequest
Runtime: java17
Runtime: java21
CodeUri: .
MemorySize: 1512
Policies: AWSLambdaBasicExecutionRole
Expand Down

0 comments on commit 99a44be

Please sign in to comment.