ConcreteDependable¶
-
class
aws_cdk.core.
ConcreteDependable
¶ Bases:
object
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.
- ExampleMetadata
infused
Example:
# Declare the dependable object b_and_c = ConcreteDependable() b_and_c.add(construct_b) b_and_c.add(construct_c) # Take the dependency construct_a.node.add_dependency(b_and_c)
Methods
-
add
(construct)¶ Add a construct to the dependency roots.
- Parameters
construct (
IConstruct
) –- Return type
None