Package software.amazon.awscdk
Interface PolicyValidationPluginReportBeta1
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PolicyValidationPluginReportBeta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:43.902Z")
@Stability(Stable)
public interface PolicyValidationPluginReportBeta1
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.*;
PolicyValidationPluginReportBeta1 policyValidationPluginReportBeta1 = PolicyValidationPluginReportBeta1.builder()
.success(false)
.violations(List.of(PolicyViolationBeta1.builder()
.description("description")
.ruleName("ruleName")
.violatingResources(List.of(PolicyViolatingResourceBeta1.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 forPolicyValidationPluginReportBeta1static final classAn implementation forPolicyValidationPluginReportBeta1 -
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
-