Class ResourceNode
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.cdkgraph.BaseEntity
-
- software.aws.awsprototypingsdk.cdkgraph.Node
-
- software.aws.awsprototypingsdk.cdkgraph.ResourceNode
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,ISerializableEntity,ISerializableNode
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-08-24T23:07:44.486Z") @Stability(Experimental) public class ResourceNode extends Node
(experimental) ResourceNode class defines a L2 cdk resource construct.
-
-
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_WRAPPED_CFN_PROPS(experimental) Attribute key for cfn properties.static StringATT_WRAPPED_CFN_TYPE(experimental) Attribute key for cfn resource type.
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedResourceNode(software.amazon.jsii.JsiiObjectRef objRef)ResourceNode(IResourceNodeProps props)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlainObjectgetCfnProps()(experimental) Get the cfn properties from the L1 resource that this L2 resource wraps.CfnResourceNodegetCfnResource()(experimental) Get the default/primary CfnResource that this Resource wraps.StringgetCfnType()(experimental) Get the CloudFormation resource type for this L2 resource or for the L1 resource is wraps.BooleangetIsCdkOwned()(experimental) Indicates if this resource is owned by cdk (defined in cdk library).BooleangetIsWrapper()(experimental) Indicates if Resource wraps a single CfnResource.static BooleanisResourceNode(Node node)(experimental) Indicates if node is aResourceNode.voidmutateCfnResource()(experimental) Modifies the L1 resource wrapped by this L2 resource.voidmutateCfnResource(CfnResourceNode cfnResource)(experimental) Modifies the L1 resource wrapped by this L2 resource.BooleanmutateRemoveChild(Node node)(experimental) Remove a child node from this node.-
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, getChild, getChildren, getConstructInfo, getConstructInfoFqn, getDependedOnBy, getDependencies, getDependencyLinks, getDepth, getId, getIsAsset, getIsCfnFqn, getIsCluster, getIsCustomResource, getIsExtraneous, 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, mutateDestroy, mutateDestroy, mutateHoist, mutateMove, 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_WRAPPED_CFN_PROPS
@Stability(Experimental) public static final String ATT_WRAPPED_CFN_PROPS
(experimental) Attribute key for cfn properties.
-
ATT_WRAPPED_CFN_TYPE
@Stability(Experimental) public static final String ATT_WRAPPED_CFN_TYPE
(experimental) Attribute key for cfn resource type.
-
-
Constructor Detail
-
ResourceNode
protected ResourceNode(software.amazon.jsii.JsiiObjectRef objRef)
-
ResourceNode
protected ResourceNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
ResourceNode
@Stability(Experimental) public ResourceNode(@NotNull IResourceNodeProps props)- Parameters:
props- This parameter is required.
-
-
Method Detail
-
isResourceNode
@Stability(Experimental) @NotNull public static Boolean isResourceNode(@NotNull Node node)
(experimental) Indicates if node is aResourceNode.- Parameters:
node- This parameter is required.
-
mutateCfnResource
@Stability(Experimental) public void mutateCfnResource(@Nullable CfnResourceNode cfnResource)(experimental) Modifies the L1 resource wrapped by this L2 resource.- Parameters:
cfnResource-
-
mutateCfnResource
@Stability(Experimental) public void mutateCfnResource()
(experimental) Modifies the L1 resource wrapped by this L2 resource.
-
mutateRemoveChild
@Stability(Experimental) @NotNull public Boolean mutateRemoveChild(@NotNull Node node)
(experimental) Remove a child node from this node.- Overrides:
mutateRemoveChildin classNode- Parameters:
node- This parameter is required.
-
getIsCdkOwned
@Stability(Experimental) @NotNull public Boolean getIsCdkOwned()
(experimental) Indicates if this resource is owned by cdk (defined in cdk library).
-
getIsWrapper
@Stability(Experimental) @NotNull public Boolean getIsWrapper()
(experimental) Indicates if Resource wraps a single CfnResource.
-
getCfnProps
@Stability(Experimental) @Nullable public PlainObject getCfnProps()
(experimental) Get the cfn properties from the L1 resource that this L2 resource wraps.- Overrides:
getCfnPropsin classNode
-
getCfnResource
@Stability(Experimental) @Nullable public CfnResourceNode getCfnResource()
(experimental) Get the default/primary CfnResource that this Resource wraps.
-
getCfnType
@Stability(Experimental) @Nullable public String getCfnType()
(experimental) Get the CloudFormation resource type for this L2 resource or for the L1 resource is wraps.- Overrides:
getCfnTypein classNode
-
-