aws-cdk-featureflags
v0.1.2
Published
An AWS CDK feature flag implementation
Downloads
4
Maintainers
Readme
aws-cdk-featureflags
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!