0.1.2 • Published 4 years ago

aws-cdk-featureflags v0.1.2

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
4 years ago

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!