Class ConcreteDependable
A set of constructs to be used as a dependable.
Inheritance
System.Object
ConcreteDependable
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public class ConcreteDependable : DeputyBase, IDependable
Syntax (vb)
Public Class ConcreteDependable
Inherits DeputyBase
Implements IDependable
Remarks
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
Examples
// Declare the dependable object
var bAndC = new ConcreteDependable();
bAndC.Add(constructB);
bAndC.Add(constructC);
// Take the dependency
constructA.Node.AddDependency(bAndC);
Synopsis
Constructors
ConcreteDependable() | |
ConcreteDependable(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ConcreteDependable(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Add(IConstruct) | Add a construct to the dependency roots. |
Constructors
ConcreteDependable()
public ConcreteDependable()
ConcreteDependable(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ConcreteDependable(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ConcreteDependable(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ConcreteDependable(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Add(IConstruct)
Add a construct to the dependency roots.
public virtual void Add(IConstruct construct)
Parameters
- construct IConstruct