Skip to content

Commit

Permalink
Upgrade Lambda runtimes from java8 to java8.al2 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkuntian committed Dec 19, 2023
1 parent d0b2abc commit 1af2dbb
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion activity/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::StepFunctions::Activity",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "com.amazonaws.stepfunctions.cloudformation.activity.HandlerWrapper::handleRequest",
"testEntrypoint": "com.amazonaws.stepfunctions.cloudformation.activity.HandlerWrapper::testEntrypoint",
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions activity/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Resources:
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.activity.HandlerWrapper::handleRequest
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-activity-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.activity.HandlerWrapper::testEntrypoint
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-activity-handler-1.0-SNAPSHOT.jar
2 changes: 1 addition & 1 deletion statemachine/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::StepFunctions::StateMachine",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "com.amazonaws.stepfunctions.cloudformation.statemachine.HandlerWrapper::handleRequest",
"testEntrypoint": "com.amazonaws.stepfunctions.cloudformation.statemachine.HandlerWrapper::testEntrypoint",
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions statemachine/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Resources:
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.statemachine.HandlerWrapper::handleRequest
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-statemachine-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.statemachine.HandlerWrapper::testEntrypoint
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-statemachine-handler-1.0-SNAPSHOT.jar
2 changes: 1 addition & 1 deletion statemachinealias/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::StepFunctions::StateMachineAlias",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "com.amazonaws.stepfunctions.cloudformation.statemachinealias.HandlerWrapper::handleRequest",
"testEntrypoint": "com.amazonaws.stepfunctions.cloudformation.statemachinealias.HandlerWrapper::testEntrypoint",
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions statemachinealias/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Resources:
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.statemachinealias.HandlerWrapper::handleRequest
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-statemachinealias-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.statemachinealias.HandlerWrapper::testEntrypoint
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-statemachinealias-handler-1.0-SNAPSHOT.jar
2 changes: 1 addition & 1 deletion statemachineversion/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::StepFunctions::StateMachineVersion",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "com.amazonaws.stepfunctions.cloudformation.statemachineversion.HandlerWrapper::handleRequest",
"testEntrypoint": "com.amazonaws.stepfunctions.cloudformation.statemachineversion.HandlerWrapper::testEntrypoint",
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions statemachineversion/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Resources:
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.statemachineversion.HandlerWrapper::handleRequest
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-statemachineversion-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: com.amazonaws.stepfunctions.cloudformation.statemachineversion.HandlerWrapper::testEntrypoint
MemorySize: 256
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-stepfunctions-statemachineversion-handler-1.0-SNAPSHOT.jar

0 comments on commit 1af2dbb

Please sign in to comment.