Class CfnResourceNode

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, ISerializableEntity, ISerializableNode

    @Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)",
               date="2023-08-24T23:07:44.323Z")
    @Stability(Experimental)
    public class CfnResourceNode
    extends Node
    (experimental) CfnResourceNode defines an L1 cdk resource.
    • Field Detail

      • ATT_IMPORT_ARN_TOKEN

        @Stability(Experimental)
        public static final String ATT_IMPORT_ARN_TOKEN
        (experimental) Normalized CfnReference attribute.
    • Constructor Detail

      • CfnResourceNode

        protected CfnResourceNode​(software.amazon.jsii.JsiiObjectRef objRef)
      • CfnResourceNode

        protected CfnResourceNode​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • CfnResourceNode

        @Stability(Experimental)
        public CfnResourceNode​(@NotNull
                               ICfnResourceNodeProps props)
        Parameters:
        props - This parameter is required.
    • Method Detail

      • isCfnResourceNode

        @Stability(Experimental)
        @NotNull
        public static Boolean isCfnResourceNode​(@NotNull
                                                Node node)
        (experimental) Indicates if a node is a CfnResourceNode.

        Parameters:
        node - This parameter is required.
      • isEquivalentFqn

        @Stability(Experimental)
        @NotNull
        public Boolean isEquivalentFqn​(@NotNull
                                       ResourceNode resource)
        (experimental) Evaluates if CfnResourceNode fqn is equivalent to ResourceNode fqn.

        Example:

         `aws-cdk-lib.aws_lambda.Function` => `aws-cdk-lib.aws_lambda.CfnFunction`
         

        Parameters:
        resource - - Graph.ResourceNode to compare. This parameter is required.
        Returns:
        Returns true if equivalent, otherwise false
      • mutateDestroy

        @Stability(Experimental)
        public void mutateDestroy​(@Nullable
                                  Boolean strict)
        (experimental) Destroys this node by removing all references and removing this node from the store.

        Overrides:
        mutateDestroy in class Node
        Parameters:
        strict -
      • mutateDestroy

        @Stability(Experimental)
        public void mutateDestroy()
        (experimental) Destroys this node by removing all references and removing this node from the store.
        Overrides:
        mutateDestroy in class Node
      • getIsExtraneous

        @Stability(Experimental)
        @NotNull
        public Boolean getIsExtraneous()
        (experimental) Indicates if this node is considered a FlagEnum.EXTRANEOUS node or determined to be extraneous: - Clusters that contain no children.
        Overrides:
        getIsExtraneous in class Node
      • getIsImport

        @Stability(Experimental)
        @NotNull
        public Boolean getIsImport()
        (experimental) Indicates if this CfnResource is imported (eg: s3.Bucket.fromBucketArn).
      • getResource

        @Stability(Experimental)
        @Nullable
        public ResourceNode getResource()
        (experimental) Reference to the L2 Resource that wraps this L1 CfnResource if it is wrapped.