Package software.amazon.awscdk
Interface PolicyValidationPluginReportBeta1
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PolicyValidationPluginReportBeta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:13.313Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPolicyValidationPluginReportBeta1
static final class
An 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
-