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

Method addr

src/construct.ts:117–123  ·  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

115 * @example c83a2846e506bcc5f10682b564084bca2d275709ee
116 */
117 public get addr(): string {
118 if (!this._addr) {
119 this._addr = addressOf(this.scopes.map(c => c.node.id));
120 }
121
122 return this._addr;
123 }
124
125 /**
126 * Return a direct child by id, or undefined

Callers

nothing calls this directly

Calls 1

addressOfFunction · 0.90

Tested by

no test coverage detected