# DependencyGroup

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.

Extends: DependencyGroup
Implements: IDependable

- Source: [`src/dependency.ts`](https://github.com/aws/constructs/blob/v10.8.1/src/dependency.ts#L24)

## Example

```ts
import { DependencyGroup } from 'constructs';

const dependencyGroup = new DependencyGroup();
```

## Initializer

```ts
new DependencyGroup(deps: IDependable)
```

## Methods

- `add(...scopes: IDependable[]): void` — Add a construct to the dependency roots.
