You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ A suite of utilities for AWS Lambda functions to ease adopting best practices su
18
18
19
19
2) [**Share your work**](https://github.com/awslabs/aws-lambda-powertools-python/issues/new?assignees=&labels=community-content&template=share_your_work.yml&title=%5BI+Made+This%5D%3A+%3CTITLE%3E). Blog posts, video, sample projects you used Powertools!
20
20
21
-
3) Use [**Lambda Layers**](#lambda-layer) or [**SAR**](#sar), if possible. This helps us understand who uses Powertools in a non-intrusive way, and helps us gain future investments for other Lambda Powertools languages.
21
+
3) Use [**Lambda Layers**](#lambda-layer) or [**SAR**](#sar), if possible. This helps us understand who uses Powertools in a non-intrusive way, and helps us gain future investments for other Powertools languages.
22
22
23
-
When using Layers, you can add Lambda Powertools as a dev dependency (or as part of your virtual env) to not impact the development process.
23
+
When using Layers, you can add Powertools as a dev dependency (or as part of your virtual env) to not impact the development process.
24
24
25
25
## Install
26
26
@@ -59,7 +59,7 @@ This means you need to add AWS SDK as a development dependency (not as a product
59
59
60
60
[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. Layers promote code sharing and separation of responsibilities so that you can iterate faster on writing business logic.
61
61
62
-
You can include Lambda Powertools Lambda Layer using [AWS Lambda Console](https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html#invocation-layers-using){target="_blank"}, or your preferred deployment framework.
62
+
You can include Powertools Lambda Layer using [AWS Lambda Console](https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html#invocation-layers-using){target="_blank"}, or your preferred deployment framework.
63
63
64
64
??? note "Note: Click to expand and copy any regional Lambda Layer ARN"
65
65
@@ -585,7 +585,7 @@ Compared with the [public Layer ARN](#lambda-layer) option, SAR allows you to ch
585
585
value = data.aws_serverlessapplicationrepository_application.sar_app.semantic_version
586
586
}
587
587
588
-
# Fetch Lambda Powertools Layer ARN from deployed SAR App
588
+
# Fetch Powertools Layer ARN from deployed SAR App
589
589
output "aws_lambda_powertools_layer_arn" {
590
590
value = aws_serverlessapplicationrepository_cloudformation_stack.deploy_sar_stack.outputs.LayerVersionArn
591
591
}
@@ -673,7 +673,7 @@ sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python
673
673
674
674
## Features
675
675
676
-
Core utilities such as Tracing, Logging, Metrics, and Event Handler will be available across all Lambda Powertools languages. Additional utilities are subjective to each language ecosystem and customer demand.
676
+
Core utilities such as Tracing, Logging, Metrics, and Event Handler will be available across all Powertools languages. Additional utilities are subjective to each language ecosystem and customer demand.
@@ -728,7 +728,7 @@ When `POWERTOOLS_DEV` is set to a truthy value (`1`, `true`), it'll have the fol
728
728
729
729
## Debug mode
730
730
731
-
As a best practice for libraries, AWS Lambda Powertools module logging statements are suppressed.
731
+
As a best practice for libraries, Powertools module logging statements are suppressed.
732
732
733
733
When necessary, you can use `POWERTOOLS_DEBUG` environment variable to enable debugging. This will provide additional information on every internal operation.
**jmespath_options** | `None` | For advanced use cases when you want to bring your own [JMESPath functions](https://github.com/jmespath/jmespath.py#custom-functions){target="_blank"}
679
-
**logger** | `logging.Logger` | Logger to use for debug. You can optionally supply an instance of Powertools Logger.
|**jmespath_options**|`None`| For advanced use cases when you want to bring your own [JMESPath functions](https://github.com/jmespath/jmespath.py#custom-functions){target="_blank"}|
679
+
|**logger**|`logging.Logger`| Logger to use for debug. You can optionally supply an instance of Powertools Logger.|
**[Environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html){target="_blank"}** | Simple configuration that will rarely if ever change, because changing it requires a Lambda function deployment. | Yes | Lambda
777
-
**[Parameters utility](parameters.md)** | Access to secrets, or fetch parameters in different formats from AWS System Manager Parameter Store or Amazon DynamoDB. | No | Parameter Store, DynamoDB, Secrets Manager, AppConfig
778
-
**Feature flags utility** | Rule engine to define when one or multiple features should be enabled depending on the input. | No | AppConfig
774
+
|Method | When to use | Requires new deployment on changes | Supported services|
|**[Environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html){target="_blank"}**| Simple configuration that will rarely if ever change, because changing it requires a Lambda function deployment. | Yes | Lambda|
777
+
|**[Parameters utility](parameters.md)**| Access to secrets, or fetch parameters in different formats from AWS System Manager Parameter Store or Amazon DynamoDB. | No | Parameter Store, DynamoDB, Secrets Manager, AppConfig|
778
+
|**Feature flags utility**| Rule engine to define when one or multiple features should be enabled depending on the input. | No | AppConfig|
`NOT_IN` RuleAction | Use `KEY_NOT_IN_VALUE` instead
786
-
`get_enabled_features` | Return type changes from `List[str]` to `Dict[str, Any]`. New return will contain a list of features enabled and their values. List of enabled features will be in `enabled_features` key to keep ease of assertion we have in Beta.
787
-
`boolean_type` Schema | This **might** not be necessary anymore before we go GA. We will return either the `default` value when there are no rules as well as `when_match` value. This will simplify on-boarding if we can keep the same set of validations already offered.
|`NOT_IN` RuleAction | Use `KEY_NOT_IN_VALUE` instead|
786
+
|`get_enabled_features`| Return type changes from `List[str]` to `Dict[str, Any]`. New return will contain a list of features enabled and their values. List of enabled features will be in `enabled_features` key to keep ease of assertion we have in Beta.|
787
+
|`boolean_type` Schema | This **might** not be necessary anymore before we go GA. We will return either the `default` value when there are no rules as well as `when_match` value. This will simplify on-boarding if we can keep the same set of validations already offered.|
Copy file name to clipboardExpand all lines: docs/we_made_this.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
---
2
2
title: We Made This (Community)
3
-
description: Blog posts, tutorials, and videos about Lambda Powertools created by the Powertools Community.
3
+
description: Blog posts, tutorials, and videos about AWS Lambda Powertools created by the Powertools Community.
4
4
---
5
5
6
6
<!-- markdownlint-disable MD001 MD043 -->
7
7
8
-
This space is dedicated to highlight our awesome community content featuring Lambda Powertools 🙏!
8
+
This space is dedicated to highlight our awesome community content featuring Powertools 🙏!
9
9
10
10
!!! info "[Get your content featured here](https://github.com/awslabs/aws-lambda-powertools-python/issues/new?assignees=&labels=community-content&template=share_your_work.yml&title=%5BI+Made+This%5D%3A+%3CTITLE%3E){target="_blank"}!"
0 commit comments