An AWS CDK feature flag implementation
npm install aws-cdk-featureflags!build






An [AWS CDK] feature flag implementation
For when you want feature flags.
Install using your favourite package manager:
``sh`
yarn add aws-cdk-featureflags
`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
}
});
Currently pre-release. Check back when we've reached at least 1.0.0!
[aws cdk]: https://aws.amazon.com/cdk