MCPcopy Create free account
hub / github.com/aws/constructs / RootConstruct

Class RootConstruct

src/construct.ts:679–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677 * For root constructs, the id is optional.
678 */
679export class RootConstruct extends Construct {
680 /**
681 * Creates a new root construct node.
682 *
683 * @param id The scoped construct ID. Must be unique amongst siblings. If
684 * the ID includes a path separator (`/`), then it will be replaced by double
685 * dash `--`.
686 */
687 constructor(id?: string) {
688 super(undefined as any, id ?? '');
689 }
690}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected