- class aws_cdk.core.FeatureFlags(*args: Any, **kwargs)
Features that are implemented behind a flag in order to preserve backwards compatibility for existing apps.
The list of flags are available in the
The state of the flag for this application is stored as a CDK context variable.
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.core as cdk feature_flags = cdk.FeatureFlags.of(self)
Check whether a feature flag is enabled.
If configured, the flag is present in the construct node context. Falls back to the defaults defined in the
- Return type