StackValidation is the callback signature for a StackValidationPolicy. A stack validation is passed
args with more information about the stack 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 stack. reportViolation must be passed a message about the violation, and an optional urn
to a resource in the stack that's in violation of the policy. Not specifying a urn indicates the
overall stack is in violation of the policy.
StackValidation is the callback signature for a
StackValidationPolicy
. A stack validation is passedargs
with more information about the stack and areportViolation
callback that can be used to report a policy violation.reportViolation
can be called multiple times to report multiple violations against the stack.reportViolation
must be passed a message about the violation, and an optionalurn
to a resource in the stack that's in violation of the policy. Not specifying aurn
indicates the overall stack is in violation of the policy.