Skip to content

Commit 34ad6df

Browse files
committed
Update Java pattern versions to latest
1 parent 145ed5b commit 34ad6df

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

eventbridge-schedule-to-lambda-cdk-java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Amazon Eventbridge Schedule to Invoke AWS Lambda
22

3-
The application creates an Eventbridge Schedule for every 5 minutes that invokes a Lambda function. The function in this example uses the Java11 runtime. For more information on Amazon EventBridge Scheduler, please see the [User Guide](https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html).
3+
The application creates an Eventbridge Schedule for every 5 minutes that invokes a Lambda function. The function in this example uses the Java runtime. For more information on Amazon EventBridge Scheduler, please see the [User Guide](https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html).
44

55
Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.
66

eventbridge-schedule-to-lambda-sam-java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Amazon Eventbridge Schedule to Invoke AWS Lambda
22

3-
The application creates an Eventbridge Schedule for every 5 minutes that invokes a Lambda function. The function in this example uses the Java11 runtime. For more information on Amazon EventBridge Scheduler, please see the [User Guide](https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html).
3+
The application creates an Eventbridge Schedule for every 5 minutes that invokes a Lambda function. The function in this example uses the Java runtime. For more information on Amazon EventBridge Scheduler, please see the [User Guide](https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html).
44

55
Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the AWS Pricing page for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.
66

msk-lambda-iam-java-sam/MSKAndKafkaClientEC2.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Parameters:
2121
- java11
2222
- java17
2323
- java21
24-
Default: java21
24+
- java25
25+
Default: java25
2526
ApacheKafkaInstallerLocation:
2627
Type: String
2728
Default: https://archive.apache.org/dist/kafka/3.5.1/kafka_2.13-3.5.1.tgz
@@ -315,8 +316,10 @@ Resources:
315316
sudo yum install java-17-amazon-corretto-devel -y
316317
elif [ "$JAVA_VERSION" == "java21" ]; then
317318
sudo yum install java-21-amazon-corretto-devel -y
319+
elif [ "$JAVA_VERSION" == "java25" ]; then
320+
sudo yum install java-25-amazon-corretto-devel -y
318321
else
319-
sudo yum install java-21-amazon-corretto-devel -y
322+
sudo yum install java-25-amazon-corretto-devel -y
320323
fi
321324
# Check the exit code of the command
322325
if [ $? -eq 0 ]; then
@@ -588,8 +591,10 @@ Resources:
588591
sudo yum install java-17-amazon-corretto-devel -y
589592
elif [ "$JAVA_VERSION" == "java21" ]; then
590593
sudo yum install java-21-amazon-corretto-devel -y
594+
elif [ "$JAVA_VERSION" == "java25" ]; then
595+
sudo yum install java-25-amazon-corretto-devel -y
591596
else
592-
sudo yum install java-21-amazon-corretto-devel -y
597+
sudo yum install java-25-amazon-corretto-devel -y
593598
fi
594599
# Check the exit code of the command
595600
if [ $? -eq 0 ]; then

msk-lambda-schema-avro-java-sam/MSKAndKafkaClientEC2.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,10 @@ Resources:
356356
sudo yum install java-17-amazon-corretto-devel -y
357357
elif [ "$JAVA_VERSION" == "java21" ]; then
358358
sudo yum install java-21-amazon-corretto-devel -y
359+
elif [ "$JAVA_VERSION" == "java25" ]; then
360+
sudo yum install java-25-amazon-corretto-devel -y
359361
else
360-
sudo yum install java-21-amazon-corretto-devel -y
362+
sudo yum install java-25-amazon-corretto-devel -y
361363
fi
362364
# Check the exit code of the command
363365
if [ $? -eq 0 ]; then
@@ -652,8 +654,10 @@ Resources:
652654
sudo yum install java-17-amazon-corretto-devel -y
653655
elif [ "$JAVA_VERSION" == "java21" ]; then
654656
sudo yum install java-21-amazon-corretto-devel -y
657+
elif [ "$JAVA_VERSION" == "java25" ]; then
658+
sudo yum install java-25-amazon-corretto-devel -y
655659
else
656-
sudo yum install java-21-amazon-corretto-devel -y
660+
sudo yum install java-25-amazon-corretto-devel -y
657661
fi
658662
# Check the exit code of the command
659663
if [ $? -eq 0 ]; then

0 commit comments

Comments
 (0)