An AWS CDK feature flag implementation
This package is a WORK IN PROGRESS, please make sure you're not using this until we've reached at least v1.0.0.
For when you want feature flags.
Install using your favourite package manager:
yarn add aws-cdk-featureflags
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
}
});
Currently pre-release. Check back when we've reached at least 1.0.0!