FeatureFlagReportProperties

class aws_cdk.cloud_assembly_schema.FeatureFlagReportProperties(*, flags, module)

Bases: object

Artifact properties for a feature flag report.

A feature flag report is small enough that all the properties can be inlined here, and doesn’t need an additional file.

Parameters:
  • flags (Mapping[str, Union[FeatureFlag, Dict[str, Any]]]) – Information about every feature flag supported by this library.

  • module (str) – The library that this feature flag report applies to.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema

# recommended_value: Any
# user_value: Any
# v1: Any
# v2: Any

feature_flag_report_properties = cloud_assembly_schema.FeatureFlagReportProperties(
    flags={
        "flags_key": cloud_assembly_schema.FeatureFlag(
            explanation="explanation",
            recommended_value=recommended_value,
            unconfigured_behaves_like=cloud_assembly_schema.UnconfiguredBehavesLike(
                v1=v1,
                v2=v2
            ),
            user_value=user_value
        )
    },
    module="module"
)

Attributes

flags

Information about every feature flag supported by this library.

module

The library that this feature flag report applies to.