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

Method with

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

589 * @returns This construct for chaining
590 */
591 public with(...mixins: IMixin[]): IConstruct {
592 return this.node.with(...mixins);
593 };
594
595 /**
596 * Returns a string representation of this construct.

Callers

nothing calls this directly

Calls 1

withMethod · 0.65

Tested by

no test coverage detected