(scope: Construct, id: string)
| 354 | |
| 355 | class YourConstruct extends Construct { |
| 356 | constructor(scope: Construct, id: string) { |
| 357 | super(scope, id); |
| 358 | |
| 359 | this.node.addValidation({ validate: () => ['your-error1'] }); |
| 360 | } |
| 361 | } |
| 362 | |
| 363 | class TheirConstruct extends Construct { |
nothing calls this directly
no test coverage detected