class ConcreteDependable
| Language | Type name |
|---|---|
.NET | Amazon.CDK.ConcreteDependable |
Java | software.amazon.awscdk.core.ConcreteDependable |
Python | aws_cdk.core.ConcreteDependable |
TypeScript (source) | @aws-cdk/core » ConcreteDependable |
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
const bAndC = new ConcreteDependable();
bAndC.add(constructB);
bAndC.add(constructC);
// Take the dependency
constructA.node.addDependency(bAndC);
Initializer
new ConcreteDependable()
Methods
| Name | Description |
|---|---|
| add(construct) | Add a construct to the dependency roots. |
add(construct)
public add(construct: IConstruct): void
Parameters
- construct
IConstruct
Add a construct to the dependency roots.

.NET
Java
Python
TypeScript (