(scope: Construct, id: string)
| 346 | |
| 347 | class MyConstruct extends Construct { |
| 348 | constructor(scope: Construct, id: string) { |
| 349 | super(scope, id); |
| 350 | |
| 351 | this.node.addValidation({ validate: () => ['my-error1', 'my-error2'] }); |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | class YourConstruct extends Construct { |
nothing calls this directly
no test coverage detected