Interface PolicyValidationPluginReport

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
PolicyValidationPluginReport.Jsii$Proxy

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-24T20:29:21.063Z") @Stability(Stable) public interface PolicyValidationPluginReport extends software.amazon.jsii.JsiiSerializable
The report emitted by the plugin after evaluation.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 PolicyValidationPluginReport policyValidationPluginReport = PolicyValidationPluginReport.builder()
         .success(false)
         .violations(List.of(PolicyViolation.builder()
                 .description("description")
                 .ruleName("ruleName")
                 .violatingResources(List.of(PolicyViolatingResource.builder()
                         .locations(List.of("locations"))
                         .resourceLogicalId("resourceLogicalId")
                         .templatePath("templatePath")
                         .build()))
                 // the properties below are optional
                 .fix("fix")
                 .ruleMetadata(Map.of(
                         "ruleMetadataKey", "ruleMetadata"))
                 .severity("severity")
                 .build()))
         // the properties below are optional
         .metadata(Map.of(
                 "metadataKey", "metadata"))
         .pluginVersion("pluginVersion")
         .build();