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

Method constructor

test/construct.test.ts:374–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

372
373 class TestStack extends Root {
374 constructor() {
375 super();
376
377 new MyConstruct(this, 'MyConstruct');
378 new TheirConstruct(this, 'TheirConstruct');
379
380 this.node.addValidation({ validate: () => ['stack-error'] });
381 }
382 }
383
384 const stack = new TestStack();

Callers

nothing calls this directly

Calls 1

addValidationMethod · 0.80

Tested by

no test coverage detected