Interface PolicyValidationReportJson
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PolicyValidationReportJson.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.717Z") @Stability(Stable) public interface PolicyValidationReportJson extends software.amazon.jsii.JsiiSerializable
The top-level structure of the policy validation report file.Example:
import software.amazon.awscdk.cloudassembly.schema.PolicyValidationReportJson; PolicyValidationReportJson report = PolicyValidationReportJson.builder() .version("1.0") .pluginReports(List.of(PluginReportJson.builder() .pluginName("my-plugin") .conclusion("success") .violations(List.of()) .build())) .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPolicyValidationReportJson.BuilderA builder forPolicyValidationReportJsonstatic classPolicyValidationReportJson.Jsii$ProxyAn implementation forPolicyValidationReportJson
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PolicyValidationReportJson.Builderbuilder()List<PluginReportJson>getPluginReports()Reports from all validation plugins that ran during synthesis.default StringgetTitle()Report title, if present.StringgetVersion()Protocol version.
-
-
-
Method Detail
-
getPluginReports
@Stability(Stable) @NotNull List<PluginReportJson> getPluginReports()
Reports from all validation plugins that ran during synthesis.
-
getVersion
@Stability(Stable) @NotNull String getVersion()
Protocol version.
-
getTitle
@Stability(Stable) @Nullable default String getTitle()
Report title, if present.
-
builder
@Stability(Stable) static PolicyValidationReportJson.Builder builder()
- Returns:
- a
PolicyValidationReportJson.BuilderofPolicyValidationReportJson
-
-