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

Method with

src/construct.ts:561–563  ·  view source on GitHub ↗

* Applies one or more mixins to this construct. * * Mixins are applied in order. The list of constructs is captured at the * start of the call, so constructs added by a mixin will not be visited. * Use multiple `with()` calls if subsequent mixins should apply to added * constructs.

(...mixins: IMixin[])

Source from the content-addressed store, hash-verified

559 * @returns This construct for chaining
560 */
561 public with(...mixins: IMixin[]): IConstruct {
562 return this.node.with(...mixins);
563 };
564
565 /**
566 * Returns a string representation of this construct.

Callers

nothing calls this directly

Calls 1

withMethod · 0.65

Tested by

no test coverage detected