constructs.DependencyGroup

class DependencyGroup 🔹

LanguageType name
.NETConstructs.DependencyGroup
Javasoftware.constructs.DependencyGroup
Pythonconstructs.DependencyGroup
TypeScript (source)constructs » DependencyGroup

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.

Initializer

new DependencyGroup(...deps: IDependable[])

Parameters

  • deps IDependable

Methods

NameDescription
add(...scopes)🔹Add a construct to the dependency roots.

add(...scopes)🔹

public add(...scopes: IDependable[]): void

Parameters

  • scopes IDependable

Add a construct to the dependency roots.