Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

aws-cdk-featureflags

0.1.2 • Public • Published

aws-cdk-featureflags

build dependencies Status npm

npm version NuGet version PyPI version Maven Central

An AWS CDK feature flag implementation

❗️ WIP ❗️

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!

Install

npm i aws-cdk-featureflags

DownloadsWeekly Downloads

0

Version

0.1.2

License

Apache-2.0

Unpacked Size

47.9 MB

Total Files

1653

Last publish

Collaborators

  • avatar