An open API service indexing awesome lists of open source software.

https://github.com/elegantdevelopment/aws-cdk-featureflags

An AWS CDK feature flag implementation
https://github.com/elegantdevelopment/aws-cdk-featureflags

api-gateway aws cdk dynamodb feature-flags feature-toggle lambda

Last synced: about 1 month ago
JSON representation

An AWS CDK feature flag implementation

Awesome Lists containing this project

README

          

# aws-cdk-featureflags

![build](https://github.com/elegantdevelopment/aws-cdk-featureflags/workflows/build/badge.svg)
[![dependencies Status](https://david-dm.org/elegantdevelopment/aws-cdk-featureflags/status.svg)](https://david-dm.org/elegantdevelopment/aws-cdk-featureflags)
[![npm](https://img.shields.io/npm/dt/aws-cdk-featureflags)](https://www.npmjs.com/package/aws-cdk-featureflags)

[![npm version](https://badge.fury.io/js/aws-cdk-featureflags.svg)](https://badge.fury.io/js/aws-cdk-featureflags)
[![NuGet version](https://badge.fury.io/nu/ElegantDevelopment.AWSCDKFeatureFlags.svg)](https://badge.fury.io/nu/ElegantDevelopment.AWSCDKFeatureFlags)
[![PyPI version](https://badge.fury.io/py/aws-cdk-featureflags.svg)](https://badge.fury.io/py/aws-cdk-featureflags)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.elegantdevelopment/AWSCDKFeatureFlags?color=brightgreen)](https://repo1.maven.org/maven2/io/github/elegantdevelopment/AWSCDKFeatureFlags/)

An [AWS CDK] feature flag implementation

# :exclamation: WIP :exclamation:
This package is a **WORK IN PROGRESS**, please make sure you're not using this until we've reached at least v1.0.0.

## Why this package

For when you want feature flags.

## How do I use it

Install using your favourite package manager:

```sh
yarn add aws-cdk-featureflags
```

### Example TypeScript usage

```ts
import { FeatureFlags } from "aws-cdk-featureflags";
...
const featureFlags = new FeatureFlags(this, "featureflags");
new Function(this, "my-function", {
code: Code.fromAsset("./my-function"),
handler: "index.handler",
environment: {
FEATURE_FLAGS_URL: featureFlags.url
}
});
```

## Versioning

Currently pre-release. Check back when we've reached at least 1.0.0!

[aws cdk]: https://aws.amazon.com/cdk