Skip to content

Commit c39bd8c

Browse files
committed
docs: remove launched SnapStart-OCI availability note; bump zip example adapter layer to :30
1 parent 0c790e4 commit c39bd8c

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

‎examples/fastapi-snapstart-zip/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This example shows how to use Lambda Web Adapter's SnapStart hooks to drain and
77
We add the Lambda Web Adapter layer to the function and configure the wrapper script.
88

99
1. attach Lambda Adapter layer to your function. This layer contains the Lambda Adapter binary and a wrapper script.
10-
1. x86_64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:28`
11-
2. arm64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:28`
10+
1. x86_64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:30`
11+
2. arm64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:30`
1212
2. configure Lambda environment variable `AWS_LAMBDA_EXEC_WRAPPER` to `/opt/bootstrap`. This is a wrapper script included in the layer.
1313
3. set function handler to a startup command: `run.sh`. The wrapper script will execute this command to boot up your application.
1414

‎examples/fastapi-snapstart-zip/template.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Resources:
2626
AWS_LWA_SNAPSTART_BEFORE_CHECKPOINT_PATH: /snapstart/before
2727
AWS_LWA_SNAPSTART_AFTER_RESTORE_PATH: /snapstart/after
2828
Layers:
29-
- !Sub arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:28
29+
- !Sub arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:30
3030
Events:
3131
ApiEvent:
3232
Type: HttpApi

‎examples/fastapi-snapstart/README.md‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ This example shows how to use the Lambda Web Adapter's SnapStart hooks to drain
44
re-establish a connection pool around the snapshot/restore boundary, packaged as a
55
**container image** (OCI) rather than a zip.
66

7-
> **Availability:** Lambda SnapStart for container images (OCI) is expected to launch
8-
> in early July. Until it is available in your account/Region, deploying this example
9-
> with `SnapStart: ApplyOn: PublishedVersions` on an `Image` package type will be
10-
> rejected. The application itself runs unchanged with or without SnapStart — the
11-
> hooks are simply not invoked when SnapStart is off.
12-
137
For the zip-packaged equivalent, see
148
[fastapi-snapstart-zip](../fastapi-snapstart-zip).
159

0 commit comments

Comments
 (0)