Class CfnResourceNode
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.cdkgraph.BaseEntity
-
- software.aws.awsprototypingsdk.cdkgraph.Node
-
- software.aws.awsprototypingsdk.cdkgraph.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ISerializableEntity
ISerializableEntity.Jsii$Default
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ISerializableNode
ISerializableNode.Jsii$Default, ISerializableNode.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static StringATT_IMPORT_ARN_TOKEN(experimental) Normalized CfnReference attribute.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCfnResourceNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedCfnResourceNode(software.amazon.jsii.JsiiObjectRef objRef)CfnResourceNode(ICfnResourceNodeProps props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetIsExtraneous()(experimental) Indicates if this node is considered aFlagEnum.EXTRANEOUSnode or determined to be extraneous: - Clusters that contain no children.BooleangetIsImport()(experimental) Indicates if this CfnResource is imported (eg:s3.Bucket.fromBucketArn).ResourceNodegetResource()(experimental) Reference to the L2 Resource that wraps this L1 CfnResource if it is wrapped.static BooleanisCfnResourceNode(Node node)(experimental) Indicates if a node is aCfnResourceNode.BooleanisEquivalentFqn(ResourceNode resource)(experimental) Evaluates if CfnResourceNode fqn is equivalent to ResourceNode fqn.voidmutateDestroy()(experimental) Destroys this node by removing all references and removing this node from the store.voidmutateDestroy(Boolean strict)(experimental) Destroys this node by removing all references and removing this node from the store.-
Methods inherited from class software.aws.awsprototypingsdk.cdkgraph.Node
addChild, addLink, addReverseLink, doesDependOn, doesReference, find, findAll, findAll, findAllLinks, findAllLinks, findAncestor, findAncestor, findChild, findLink, findLink, findLink, findLink, findLinks, findLinks, findLinks, findLinks, getAllowDestructiveMutations, getCfnProp, getCfnProps, getCfnType, getChild, getChildren, getConstructInfo, getConstructInfoFqn, getDependedOnBy, getDependencies, getDependencyLinks, getDepth, getId, getIsAsset, getIsCfnFqn, getIsCluster, getIsCustomResource, getIsGraphContainer, getIsLeaf, getIsTopLevel, getLinkChains, getLinkChains, getLinks, getLogicalId, getNearestAncestor, getNodeType, getParent, getPath, getReferencedBy, getReferenceLinks, getReferences, getReverseDependencyLinks, getReverseLinks, getReverseReferenceLinks, getRootStack, getScopes, getSiblings, getStack, isAncestor, isChild, mutateCollapse, mutateCollapseTo, mutateCollapseToParent, mutateHoist, mutateMove, mutateRemoveChild, mutateRemoveLink, mutateRemoveReverseLink, mutateUncluster, toString
-
Methods inherited from class software.aws.awsprototypingsdk.cdkgraph.BaseEntity
addAttribute, addFlag, addMetadata, addTag, applyData, applyData, applyData, findMetadata, getAttribute, getAttributes, getFlags, getIsDestroyed, getIsMutated, getMetadata, getStore, getTag, getTags, getUuid, hasAttribute, hasAttribute, hasFlag, hasMetadata, hasTag, hasTag, setAttribute, setTag
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
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 aCfnResourceNode.- 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.ResourceNodeto compare. This parameter is required.- Returns:
- Returns
trueif equivalent, otherwisefalse
-
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:
mutateDestroyin classNode- Parameters:
strict-
-
mutateDestroy
@Stability(Experimental) public void mutateDestroy()
(experimental) Destroys this node by removing all references and removing this node from the store.- Overrides:
mutateDestroyin classNode
-
getIsExtraneous
@Stability(Experimental) @NotNull public Boolean getIsExtraneous()
(experimental) Indicates if this node is considered aFlagEnum.EXTRANEOUSnode or determined to be extraneous: - Clusters that contain no children.- Overrides:
getIsExtraneousin classNode
-
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.
-
-