Skip to content

Commit 0f6f543

Browse files
sthulbSimon Thulbourn
and
Simon Thulbourn
authored
docs: Add GovCloud layer info (#5414)
* docs: Add GovCloud layer info * formatting change * change formatting for headers --------- Co-authored-by: Simon Thulbourn <sthulb@@users.noreply.github.com>
1 parent 8d5b0e7 commit 0f6f543

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

docs/index.md

+20
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,26 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc
7272
| x86_64 | __arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:2__{: .copyMe}:clipboard: |
7373
| ARM | __arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:2__{: .copyMe}:clipboard: |
7474

75+
=== "Lambda Layer (GovCloud)"
76+
77+
[Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html){target="_blank"} is a .zip file archive that can contain additional code, pre-packaged dependencies, data, or configuration files. We compile and optimize [all dependencies](#install), and remove duplicate dependencies [already available in the Lambda runtime](https://github.com/aws-powertools/powertools-lambda-layer-cdk/blob/d24716744f7d1f37617b4998c992c4c067e19e64/layer/Python/Dockerfile#L36){target="_blank"} to achieve the most optimal size.
78+
79+
For the latter, make sure to replace `{python_version}` without the period (.), e.g., `python312` for `Python 3.12`.
80+
81+
**AWS GovCloud (us-gov-east-1)**
82+
83+
| Architecture | Layer ARN |
84+
| ------------ | --------------------------------------------------------------------------------------------------------- |
85+
| x86_64 | __arn:aws-us-gov:lambda:us-gov-east-1:165087284144:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:2__{: .copyMe}:clipboard: |
86+
| ARM | __arn:aws-us-gov:lambda:us-gov-east-1:165087284144:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:2__{: .copyMe}:clipboard: |
87+
88+
**AWS GovCloud (us-gov-west-1)**
89+
90+
| Architecture | Layer ARN |
91+
| ------------ | --------------------------------------------------------------------------------------------------------- |
92+
| x86_64 | __arn:aws-us-gov:lambda:us-gov-west-1:165093116878:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:2__{: .copyMe}:clipboard: |
93+
| ARM | __arn:aws-us-gov:lambda:us-gov-west-1:165093116878:layer:AWSLambdaPowertoolsPythonV3-{python_version}-arm64:2__{: .copyMe}:clipboard: |
94+
7595
=== "AWS Console"
7696

7797
You can add our layer using the [AWS Lambda Console _(direct link)_](https://console.aws.amazon.com/lambda/home#/add/layer){target="_blank"}:

0 commit comments

Comments
 (0)