Skip to content

Commit fcd132a

Browse files
authored
Updated Readme with new layer ARNs for China regions (#271)
1 parent e9c7812 commit fcd132a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,16 @@ This works with any base images except AWS managed base images. To use AWS manag
5555
AWS Lambda Web Adapter also works with AWS managed Lambda runtimes. You need to do three things:
5656

5757
1. attach Lambda Web Adapter layer to your function.
58-
1. x86_64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:16`
59-
2. arm64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:16`
58+
#### AWS Commercial Regions
59+
1. x86_64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:16`
60+
2. arm64: `arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:16`
61+
#### AWS China Regions
62+
1. cn-north-1 (Beijing)
63+
- x86_64: `arn:aws-cn:lambda:cn-north-1:041581134020:layer:LambdaAdapterLayerX86:16`
64+
2. cn-northwest-1 (Ningxia)
65+
- x86_64: `arn:aws-cn:lambda:cn-northwest-1:069767869989:layer:LambdaAdapterLayerX86:16`
66+
67+
6068
2. configure Lambda environment variable `AWS_LAMBDA_EXEC_WRAPPER` to `/opt/bootstrap`.
6169
3. set function handler to your web application start up script. e.g. `run.sh`.
6270

0 commit comments

Comments
 (0)