ResourceValidation is the callback signature for a ResourceValidationPolicy. A resource validation
is passed args with more information about the resource and a reportViolation callback that can be
used to report a policy violation. reportViolation can be called multiple times to report multiple
violations against the same resource. reportViolation must be passed a message about the violation.
The reportViolation signature accepts an optional urn argument, which is ignored when validating
resources (the urn of the resource being validated is always used).
ResourceValidation is the callback signature for a
ResourceValidationPolicy. A resource validation is passedargswith more information about the resource and areportViolationcallback that can be used to report a policy violation.reportViolationcan be called multiple times to report multiple violations against the same resource.reportViolationmust be passed a message about the violation. ThereportViolationsignature accepts an optionalurnargument, which is ignored when validating resources (theurnof the resource being validated is always used).