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

Method addr

src/construct.ts:130–136  ·  view source on GitHub ↗

* Returns an opaque tree-unique address for this construct. * * Addresses are 42 characters hexadecimal strings. They begin with "c8" * followed by 40 lowercase hexadecimal characters (0-9a-f). * * Addresses are calculated using a SHA-1 of the components of the construct * path.

()

Source from the content-addressed store, hash-verified

128 * @example c83a2846e506bcc5f10682b564084bca2d275709ee
129 */
130 public get addr(): string {
131 if (!this._addr) {
132 this._addr = addressOf(this._scopes.map(c => c.node.id));
133 }
134
135 return this._addr;
136 }
137
138 /**
139 * Return a direct child by id, or undefined

Callers

nothing calls this directly

Calls 1

addressOfFunction · 0.90

Tested by

no test coverage detected