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

Method with

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

599 * @returns This construct for chaining
600 */
601 public with(...mixins: IMixin[]): IConstruct {
602 return this.node.with(...mixins);
603 };
604
605 /**
606 * Returns a string representation of this construct.

Callers

nothing calls this directly

Calls 1

withMethod · 0.65

Tested by

no test coverage detected