@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.459Z") @Stability(value=Experimental) public class FeatureFlags extends software.amazon.jsii.JsiiObject
The list of flags are available in the
@aws-cdk/cx-api module.
The state of the flag for this application is stored as a CDK context variable.
| Modifier | Constructor and Description |
|---|---|
protected |
FeatureFlags(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FeatureFlags(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isEnabled(String featureFlag)
(experimental) Check whether a feature flag is enabled.
|
static FeatureFlags |
of(software.constructs.Construct scope)
(experimental) Inspect feature flags on the construct node's context.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected FeatureFlags(software.amazon.jsii.JsiiObjectRef objRef)
protected FeatureFlags(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static FeatureFlags of(@NotNull software.constructs.Construct scope)
scope - This parameter is required.@Stability(value=Experimental) @Nullable public Boolean isEnabled(@NotNull String featureFlag)
If configured, the flag is present in
the construct node context. Falls back to the defaults defined in the cx-api
module.
featureFlag - This parameter is required.Copyright © 2021. All rights reserved.