@@ -67,10 +67,10 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc
67
67
68
68
For the latter, make sure to replace `{region}` with your AWS region, e.g., `eu-west-1`, and the `{python_version}` without the period (.), e.g., `python313` for `Python 3.13`.
69
69
70
- | Architecture | Layer ARN |
71
- | ------------ | --------------------------------------------------------------------------------------------------------- |
72
- | x86_64 | __arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:7__{: .copyMe}:clipboard: |
73
- | ARM | __arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:7__{: .copyMe}:clipboard: |
70
+ | Architecture | Layer ARN |
71
+ | ------------ | ----------------------------------------------------------------------------------------------------------------------------- |
72
+ | x86_64 | __arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:7__{: .copyMe}:clipboard: |
73
+ | ARM | __arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:7__{: .copyMe}:clipboard: |
74
74
75
75
=== "AWS Console"
76
76
@@ -234,12 +234,12 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc
234
234
235
235
We provide a SAR App that deploys a CloudFormation stack with a copy of our Lambda Layer in your AWS account and region.
236
236
237
- Compared with the [public Layer ARN](#lambda-layer) option, the advantage is being able to use a semantic version.
237
+ Compared with the [public Layer ARN](#lambda-layer) option, the advantage is being able to use a semantic version. Make sure to replace `{python_version}` without the period (.), e.g., `python313` for `Python 3.13`.
238
238
239
- | App | | | ARN |
240
- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | --- | ----------------------------------------------------------------------------------------------------------------- ------------ |
241
- | [** aws-lambda-powertools-python-layer**](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer){target="_blank"} | | | __arn :aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer__{: .copyMe}:clipboard: |
242
- | [** aws-lambda-powertools-python-layer-arm64**](https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-arm64){target="_blank"} | | | __arn :aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-arm64__{: .copyMe}:clipboard: |
239
+ | App | ARN | Architecture |
240
+ | --- | --- | ------------ |
241
+ | aws-lambda-powertools-python-layer-v3-{python_version}-x86-64 | arn :aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-{python_version}-x86-64 | X86_64 |
242
+ | aws-lambda-powertools-python-layer-v3-{python_version}-arm64 | arn :aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer-v3-{python_version}-arm64 | ARM64 |
243
243
244
244
??? question "Don't have enough permissions? Expand for a least-privilege IAM policy example"
245
245
@@ -328,10 +328,18 @@ Serverless Application Repository (SAR) App deploys a CloudFormation stack with
328
328
329
329
Compared with the [ public Layer ARN] ( #lambda-layer ) option, SAR allows you to choose a semantic version and deploys a Layer in your target account.
330
330
331
- | App | ARN | Description |
332
- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
333
- | [ ** aws-lambda-powertools-python-layer** ] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer] ( # ) {: .copyMe}:clipboard : | Contains all extra dependencies (e.g: pydantic). |
334
- | [ ** aws-lambda-powertools-python-layer-arm64** ] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-arm64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-arm64] ( # ) {: .copyMe}:clipboard : | Contains all extra dependencies (e.g: pydantic). For arm64 functions. |
331
+ | App | ARN | Python version | Architecture |
332
+ | --- | --- | -------------- | ------------ |
333
+ | [ aws-lambda-powertools-python-layer-v3-python39-x86-64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python39-x86-64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python39-x86-64] ( # ) {: .copyMe}:clipboard : | Python 3.9 | X86_64 |
334
+ | [ aws-lambda-powertools-python-layer-v3-python310-x86-64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python310-x86-64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python310-x86-64] ( # ) {: .copyMe}:clipboard : | Python 3.10 | X86_64 |
335
+ | [ aws-lambda-powertools-python-layer-v3-python311-x86-64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python11-x86-64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python311-x86-64] ( # ) {: .copyMe}:clipboard : | Python 3.11 | X86_64 |
336
+ | [ aws-lambda-powertools-python-layer-v3-python312-x86-64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python12-x86-64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python312-x86-64] ( # ) {: .copyMe}:clipboard : | Python 3.12 | X86_64 |
337
+ | [ aws-lambda-powertools-python-layer-v3-python313-x86-64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python313-x86-64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python313-x86-64] ( # ) {: .copyMe}:clipboard : | Python 3.13 | X86_64 |
338
+ | [ aws-lambda-powertools-python-layer-v3-python39-arm64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python39-arm64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python39-arm64] ( # ) {: .copyMe}:clipboard : | Python 3.9 | ARM64 |
339
+ | [ aws-lambda-powertools-python-layer-v3-python310-arm64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python310-arm64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python310-arm64] ( # ) {: .copyMe}:clipboard : | Python 3.10 | ARM64 |
340
+ | [ aws-lambda-powertools-python-layer-v3-python311-arm64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python11-arm64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python311-arm64] ( # ) {: .copyMe}:clipboard : | Python 3.11 | ARM64 |
341
+ | [ aws-lambda-powertools-python-layer-v3-python312-arm64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python12-arm64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python312-arm64] ( # ) {: .copyMe}:clipboard : | Python 3.12 | ARM64 |
342
+ | [ aws-lambda-powertools-python-layer-v3-python313-arm64] ( https://serverlessrepo.aws.amazon.com/applications/eu-west-1/057560766410/aws-lambda-powertools-python-layer-v3-python313-arm64 ) {target="_ blank"} | [ arn:aws:serverlessrepo:eu-west-1:057560766410: applications /aws-lambda-powertools-python-layer-v3-python313-arm64] ( # ) {: .copyMe}:clipboard : | Python 3.13 | ARM64 |
335
343
336
344
??? note "Click to expand and copy SAR code snippets for popular frameworks"
337
345
@@ -351,7 +359,7 @@ Compared with the [public Layer ARN](#lambda-layer) option, SAR allows you to ch
351
359
352
360
=== "CDK"
353
361
354
- ```python hl_lines="7 16-20 23-27"
362
+ ```python hl_lines="8 16-20 23-27"
355
363
--8<-- "examples/homepage/install/sar/cdk_sar.py"
356
364
```
357
365
0 commit comments