| 398 | } |
| 399 | |
| 400 | class YourConstruct extends Construct { |
| 401 | constructor(scope: Construct, id: string) { |
| 402 | super(scope, id); |
| 403 | |
| 404 | this.node.addValidation({ validate: () => ['your-error1'] }); |
| 405 | } |
| 406 | } |
| 407 | |
| 408 | class TheirConstruct extends Construct { |
| 409 | constructor(scope: Construct, id: string) { |
nothing calls this directly
no outgoing calls
no test coverage detected