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/utilities/parameters.md
+103-1Lines changed: 103 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Utility
4
4
---
5
5
6
6
<!-- markdownlint-disable MD013 -->
7
-
The Parameters utility provides high-level functionality to retrieve one or multiple parameter values from [AWS Systems Manager Parameter Store](https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html){target="_blank"}, [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/){target="_blank"}, or [Amazon DynamoDB](https://aws.amazon.com/dynamodb/){target="_blank"}. We also provide extensibility to bring your own providers.
7
+
The Parameters utility provides high-level functionality to retrieve one or multiple parameter values from [AWS Systems Manager Parameter Store](https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html){target="_blank"}, [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/){target="_blank"}, [Amazon DynamoDB](https://aws.amazon.com/dynamodb/){target="_blank"}, or [AWS AppConfig](https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html){target="_blank"}. We also provide extensibility to bring your own providers.
8
8
9
9
## Key features
10
10
@@ -33,6 +33,7 @@ This utility requires additional permissions to work as expected. See the table
// Retrieve a single configuration, latest version
433
+
IDictionary<string, string?> value = await appConfigProvider
434
+
.GetAsync()
435
+
.ConfigureAwait(false);
436
+
}
437
+
}
438
+
```
439
+
440
+
**Using AWS AppConfig Feature Flags**
441
+
442
+
Feature flagging is a powerful tool that allows safely pushing out new features in a measured and usually gradual way. AppConfig provider offers helper methods to make it easier to work with feature flags.
443
+
444
+
=== "AppConfigProvider"
445
+
446
+
```c# hl_lines="10-13 16-18 23-25"
447
+
using AWS.Lambda.Powertools.Parameters;
448
+
using AWS.Lambda.Powertools.Parameters.AppConfig;
449
+
450
+
public class Function
451
+
{
452
+
public async Task<APIGatewayProxyResponse> FunctionHandler
0 commit comments