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

Method scopes

src/construct.ts:109–113  ·  view source on GitHub ↗

* All parent scopes of this construct. * * @returns a list of parent scopes. The last element in the list will always * be the current construct and the first element will be the root of the * tree.

()

Source from the content-addressed store, hash-verified

107 * tree.
108 */
109 public get scopes(): IConstruct[] {
110 // Needs to return a copy to make sure callers can't accidentally mutate
111 // internal state. jsii doesn't support ReadonlyArray.
112 return [...this._scopes];
113 }
114
115 /**
116 * Returns an opaque tree-unique address for this construct.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected