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

Class RootConstruct

src/construct.ts:693–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691 * For root constructs, the id is optional.
692 */
693export class RootConstruct extends Construct {
694 /**
695 * Creates a new root construct node.
696 *
697 * @param id The scoped construct ID. Must be unique amongst siblings. If
698 * the ID includes a path separator (`/`) or a newline, then it will be
699 * replaced by double dash `--`.
700 */
701 constructor(id?: string) {
702 super(undefined as any, id ?? '');
703 }
704}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected