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

Method addr

src/construct.ts:143–149  ·  view source on GitHub ↗

* An opaque, deterministic address for this construct, derived from its path. * * The address is a 42 character string: the prefix "c8" followed by 40 * lowercase hexadecimal characters (0-9a-f). It is a SHA-1 over the ids of * the constructs on the path from the root of the tree down to

()

Source from the content-addressed store, hash-verified

141 * @example c83a2846e506bcc5f10682b564084bca2d275709ee
142 */
143 public get addr(): string {
144 if (!this._addr) {
145 this._addr = addressOf(this._scopes.map(c => c.node.id));
146 }
147
148 return this._addr;
149 }
150
151 /**
152 * Return a direct child by id, or undefined

Callers

nothing calls this directly

Calls 1

addressOfFunction · 0.90

Tested by

no test coverage detected