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

Method constructor

test/construct.test.ts:419–426  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417
418 class TestStack extends Root {
419 constructor() {
420 super();
421
422 new MyConstruct(this, 'MyConstruct');
423 new TheirConstruct(this, 'TheirConstruct');
424
425 this.node.addValidation({ validate: () => ['stack-error'] });
426 }
427 }
428
429 const stack = new TestStack();

Callers

nothing calls this directly

Calls 1

addValidationMethod · 0.80

Tested by

no test coverage detected