Skip to content

Commit 695f799

Browse files
authored
chore: deprecate java1.8 al1 (#1706)
* java 1.8 AL1 is deprecated * remove java8 from sam examples
1 parent b64dd49 commit 695f799

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/core/logging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ You can also override log level by setting **`POWERTOOLS_LOG_LEVEL`** env var. H
187187
Type: AWS::Serverless::Function
188188
Properties:
189189
...
190-
Runtime: java8
190+
Runtime: java11
191191
Environment:
192192
Variables:
193193
POWERTOOLS_LOG_LEVEL: DEBUG
@@ -590,7 +590,7 @@ via `samplingRate` attribute on annotation.
590590
Type: AWS::Serverless::Function
591591
Properties:
592592
...
593-
Runtime: java8
593+
Runtime: java11
594594
Environment:
595595
Variables:
596596
POWERTOOLS_LOGGER_SAMPLE_RATE: 0.5

docs/core/metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Setting | Description | Environment variable | Constructor parameter
179179
Type: AWS::Serverless::Function
180180
Properties:
181181
...
182-
Runtime: java8
182+
Runtime: java11
183183
Environment:
184184
Variables:
185185
POWERTOOLS_SERVICE_NAME: payment

docs/core/tracing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Before your use this utility, your AWS Lambda function [must have permissions](h
164164
Type: AWS::Serverless::Function
165165
Properties:
166166
...
167-
Runtime: java8
167+
Runtime: java11
168168

169169
Tracing: Active
170170
Environment:
@@ -250,7 +250,7 @@ different supported `captureMode` to record response, exception or both.
250250
Type: AWS::Serverless::Function
251251
Properties:
252252
...
253-
Runtime: java8
253+
Runtime: java11
254254

255255
Tracing: Active
256256
Environment:

examples/powertools-examples-core/gradle/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Resources:
2626
Properties:
2727
CodeUri: .
2828
Handler: helloworld.App::handleRequest
29-
Runtime: java8
29+
Runtime: java8.al2
3030
MemorySize: 512
3131
Environment: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
3232
Variables:
@@ -43,7 +43,7 @@ Resources:
4343
Properties:
4444
CodeUri: .
4545
Handler: helloworld.AppStream::handleRequest
46-
Runtime: java8
46+
Runtime: java8.al2
4747
MemorySize: 512
4848
Tracing: Active
4949
Environment:

0 commit comments

Comments
 (0)