-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Labels
discussingThe issue needs to be discussed, elaborated, or refinedThe issue needs to be discussed, elaborated, or refinedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decisionparametersThis item relates to the Parameters UtilityThis item relates to the Parameters Utility
Description
Use case
AWS AppConfig multi-variant feature flags enable users to implement use cases such as user segmentation or traffic splitting. Those use cases are described in more detail here.
Solution/User Experience
Taking the example found here one could introduce an optional context
option of type Record<string,string|number|boolean>
. Then one could fetch a variant like this:
import { getAppConfig } from '@aws-lambda-powertools/parameters/appconfig';
const result = await getAppConfig('ConfigName', {
environment: 'dev',
application: 'MyApp',
context: {
email: '[email protected]',
opted_in_to_beta: false
}
});
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
HaaLeo, jaska120 and alexbaileyuk
Metadata
Metadata
Assignees
Labels
discussingThe issue needs to be discussed, elaborated, or refinedThe issue needs to be discussed, elaborated, or refinedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityneed-customer-feedbackRequires more customers feedback before making or revisiting a decisionRequires more customers feedback before making or revisiting a decisionparametersThis item relates to the Parameters UtilityThis item relates to the Parameters Utility
Type
Projects
Status
Ideas