Enum FlagEnum

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ASSET
      (experimental) Indicates node is considered a CDK Asset (Lambda Code, Docker Image, etc).
      AWS_API_CALL_LAMBDA
      (experimental) Indicates if lambda function resource is a singleton AWS API call lambda for AwsCustomResources.
      AWS_CUSTOM_RESOURCE
      (experimental) Indicates if node is an AwsCustomResource, which is a custom resource that simply calls the AWS SDK API via singleton provider.
      CDK_OWNED
      (experimental) Indicates that node was created by CDK.
      CFN_FQN
      (experimental) Indicates node ConstructInfoFqn denotes a aws-cdk-lib.*.Cfn* construct.
      CLOSED_EDGE
      (experimental) Indicates that edge is closed;
      CLUSTER
      (experimental) Indicates that node is a cluster (container) and treated like an emphasized subgraph.
      CUSTOM_RESOURCE
      (experimental) Indicates if node is a CustomResource.
      EXTRANEOUS
      (experimental) Indicates that the entity is extraneous and considered collapsible to parent without impact of intent.
      GRAPH_CONTAINER
      (experimental) Indicates that node is non-resource container (Root, App) and used for structural purpose in the graph only.
      IMPORT
      (experimental) Indicates that resource is imported into CDK (eg: lambda.Function.fromFunctionName(), s3.Bucket.fromBucketArn()).
      MUTATED
      (experimental) Indicates that entity was mutated;
    • Enum Constant Detail

      • CLUSTER

        @Stability(Experimental)
        public static final FlagEnum CLUSTER
        (experimental) Indicates that node is a cluster (container) and treated like an emphasized subgraph.
      • GRAPH_CONTAINER

        @Stability(Experimental)
        public static final FlagEnum GRAPH_CONTAINER
        (experimental) Indicates that node is non-resource container (Root, App) and used for structural purpose in the graph only.
      • EXTRANEOUS

        @Stability(Experimental)
        public static final FlagEnum EXTRANEOUS
        (experimental) Indicates that the entity is extraneous and considered collapsible to parent without impact of intent.
      • ASSET

        @Stability(Experimental)
        public static final FlagEnum ASSET
        (experimental) Indicates node is considered a CDK Asset (Lambda Code, Docker Image, etc).
      • CFN_FQN

        @Stability(Experimental)
        public static final FlagEnum CFN_FQN
        (experimental) Indicates node ConstructInfoFqn denotes a aws-cdk-lib.*.Cfn* construct.
      • CLOSED_EDGE

        @Stability(Experimental)
        public static final FlagEnum CLOSED_EDGE
        (experimental) Indicates that edge is closed;

        meaning source === target. This flag only gets applied on creation of edge, not during mutations to maintain initial intent.

      • MUTATED

        @Stability(Experimental)
        public static final FlagEnum MUTATED
        (experimental) Indicates that entity was mutated;

        meaning a mutation was performed to change originally computed graph value.

      • IMPORT

        @Stability(Experimental)
        public static final FlagEnum IMPORT
        (experimental) Indicates that resource is imported into CDK (eg: lambda.Function.fromFunctionName(), s3.Bucket.fromBucketArn()).
    • Method Detail

      • values

        public static FlagEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FlagEnum c : FlagEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FlagEnum valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null