Class ConcreteDependable

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.core.ConcreteDependable
All Implemented Interfaces:
IDependable, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.980Z") @Stability(Stable) public class ConcreteDependable extends software.amazon.jsii.JsiiObject implements IDependable
A set of constructs to be used as a dependable.

This class can be used when a set of constructs which are disjoint in the construct tree needs to be combined to be used as a single dependable.

Example:

 // Declare the dependable object
 ConcreteDependable bAndC = new ConcreteDependable();
 bAndC.add(constructB);
 bAndC.add(constructC);
 // Take the dependency
 constructA.node.addDependency(bAndC);
 
  • 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.amazon.awscdk.core.IDependable

    IDependable.Jsii$Default, IDependable.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    ConcreteDependable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ConcreteDependable(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(IConstruct construct)
    Add a construct to the dependency roots.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • ConcreteDependable

      protected ConcreteDependable(software.amazon.jsii.JsiiObjectRef objRef)
    • ConcreteDependable

      protected ConcreteDependable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ConcreteDependable

      @Stability(Stable) public ConcreteDependable()
  • Method Details

    • add

      @Stability(Stable) public void add(@NotNull IConstruct construct)
      Add a construct to the dependency roots.

      Parameters:
      construct - This parameter is required.