aws-cdk-featureflags

An AWS CDK feature flag implementation

Usage no npm install needed!

<script type="module">
  import awsCdkFeatureflags from 'https://cdn.skypack.dev/aws-cdk-featureflags';
</script>

README

aws-cdk-featureflags

build dependencies Status npm

npm version NuGet version PyPI version Maven Central

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:

yarn add aws-cdk-featureflags

Example TypeScript usage

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!