Package software.amazon.awscdk
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPolicyValidationPluginReportstatic final classAn implementation forPolicyValidationPluginReport -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSuccess
Whether or not the report was successful. -
getViolations
List of violations in the report. -
getMetadata
Arbitrary information about the report.Default: - no metadata
-
getPluginVersion
The version of the plugin that created the report.Default: - no version
-
builder
-